|I am attempting to append the date/time stamp to our outgoing files, but having a difficult time locating the correct variables to use in order to get the correct output.|
* DOS Settings (Windows 2003 Server):
C:\Documents and Settings\camleh>date
The current date is: Thu 09/27/2012
C:\Documents and Settings\camleh>time
The current time is: 15:13:04.97
* Existing Script:
set d=%d: =_%
set t=%t: =0%
move "J:\CHR\OUT\*" "S:\Program Files\LexiCom\outbox\CHRobinson\ONECARE_%d%%t%.TXT"
Current Output: ONECARE_201227Th152636.TXT
Desired Output: ONECARE_20120927152636.TXT
Thanks in advance!