Multiple choice technology testing

What is the output of the following code snippet @echo off xcopy %userprofile%* %2

  1. Returns the number of files present in UserProfile Folder

  2. Syntax error

  3. Copies the contents of UserProfile to a path specified by command line argument

  4. Copies the contents from a path specified by a command line argument to UserProfile

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The command uses xcopy to copy all contents of the %userprofile% folder (the source) to the directory specified by %2, which represents the second positional command-line argument passed to the batch script.