Prev | Current Page 373 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


%~xI Expands %I to a file extension only.
%~sI Creates a path variable, and then changes any long directory names into their short name
equivalents.
%~aI Obtains the file attributes of the input file.
%~tI Obtains the date and time of the input file.
%~zI Obtains the size of the input file.
%~$PATH:I Searches the directories listed in the PATH environment variable for the file specified
by I. The system then expands the first match that it finds to a fully qualified filename, which
includes the drive, path, and filename. This variable substitution returns an empty string when the
PATH environment variable is undefined or if the system can??™t find a match for the filename.
You can use these variable substitutions in combination to produce specific results. For example,
you might want to create a directory-like listing of files. The following list provides some ideas on
how to use the variable substitution arguments in combination.
%~dpI Outputs just the drive letter and path of a file, without including the filename.
%~nxI Outputs the filename and extension, but leaves out the drive letter and path.
%~fsI Outputs the file information using the short name (8.


Pages:
361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385
meble drewniane prezenty Futro Na wylot wokar