8.3 Valid characters for arguments in a command
This section describes the valid characters for arguments in a command.
-
You can specify arguments in a command according to the specification of the Windows command prompt. Based on the specification, you must enclose an argument in double quotation marks (") if the argument contains any space or special characters.
-
The following characters are available when you specify a path argument in each command:
Half-width alphanumeric characters, _, ., -, (space), (, ), #, @, :, \
-
: can only be used to separate a drive letter.
-
\ can only be used to separate folders.
-
You cannot specify a path in the UNC format when specifying the path as an argument.
-
You cannot use a path whose folder name is preceded or followed by a space character when specifying the path as an argument. Also, you cannot use a folder name that only has the space characters.
-
You cannot use a path whose folder name is preceded or followed by a period (.) when specifying the path as an argument. Also, you cannot use a folder name that only has the periods.
-
Unless otherwise specified, you can use 1-230 characters for the absolute path.
-
Unless otherwise specified, arguments for each command are case sensitive.
-
The names shown below are reserved keywords in the OS. Do not use them for file and folder names.
CON, PRN, AUX, CLOCK$, NUL, COM0, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT0, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, LPT9