What is the command line parameter of the doscommand? Common Parameter Parsing for batch processing, doscommand line parameters
What is the command line parameter of the doscommand? Common Parameter Parsing for batch processing.
% ~ 1
Expand % 1 and delete any quotation marks ("").
% ~ F1
Extend % 1 to a fully qualified path name.
% ~ D1
Extend % 1 to the drive letter.
% ~ P1
Extend % 1 to the path.
% ~ N1
Extend % 1 to the file name.
% ~ X1
Extend % 1 to the file extension.
% ~ S1
The extension path contains only short names.
% ~ A1
Extend % 1 to file properties.
% ~ T1
Extend % 1 to the file date/time.
% ~ Z1
Extend % 1 to the file size.
% ~ $ PATH: 1
Search for the directories listed in the PATH environment variable and extend % 1 to the fully qualified name of the first directory found. If no stage variable name is defined or the file is not found, this modifier is extended to a null string.
The following table lists possible combinations of delimiters and delimiters that can be used to obtain complex results:
Edit character
Description
% ~ Dp1
Extend % 1 to the drive letter and path.
% ~ Nx1
Extend % 1 to the file name and extension.
% ~ Dp $ PATH: 1
Search for % 1 in the directory listed in the PATH environment variable and extend it to the drive letter and PATH of the first directory found.
% ~ Ftza1
Extend % 1 to output rows similar to dir.