From a command prompt I need to create a file name with the current date
without the / separators which is then used in a batch file.
Does anybody have any sample files that do this?
The Mount/\Command called ".GetLogDate" is part of the FREE Advanced
NT/2K/XP/K3 Command Library. Syntax for a COPY command would be:
%.GetLogDate%
COPY Source.log %#LogDate%.log
(
http://TheSystemGuard.com/MtCmds/GetValue/GetLogDate.htm)
(
http://ntlib.com)
*******
Notes:
1. .Mount/\Commands are constructed using ONLY builtin
commands common to all four platforms (NT/2K/XP/K3).
2. .M/\C's are NOT case sensitive. Mixed case is used
for visual clarity only.
*******
TheGuardBook contains a "Mounted Help" page for each internal cmd.exe
command. This is a single color-coded page, highlighting the differences
among the NT/2K/XP/K3 versions. The complete help text for each OS is also
available for comparison (
http://TheSystemGuard.com/TheGuardBook/CCS-Int).
-tsg
/-----------------+---------------+----------------------\
| COMPATIBILITY | CLARITY | SPEED |
| Write code ONCE | Make it clear | THEN...Make it fast! |
\-----------------+---------------+----------------------/
400+ command-line resources using ONLY native NT commands!
(
http://TheSystemGuard.com/default.asp#MasterCommandList)