Home » Infrastructure » Windows » Appending current date to the file logic work in 2000, not in NT
Appending current date to the file logic work in 2000, not in NT [message #100818] Fri, 07 November 2003 08:40
Red
Messages: 18
Registered: October 2003
Junior Member
Hi all,
I do have the following logic that works perfectly good on both Win2000 client and servers, but somehow showing syntax error on NT server. Can someone help me with this?
ren FILE.DAT FILE_%date:~4,2%%date:~7,2%%date:~10,4%.TXT

Input: FILE.DAT
Output: FILE_11072003.TXT
Previous Topic: urgent
Next Topic: SQLPlus installation path
Goto Forum:
  


Current Time: Tue Nov 26 01:03:33 CST 2024