dasaybz
May 9th, 2007, 2:36:19 PM
Hey guys. I'm writing a batch file that is exporting a .dmp file and I want to save it with the date timestamped on to it. I can do this file=file_%date%.dmp, but when the file gets dumped, it's in the mm/dd/yyyy format, and as we all know, you can't save a file with slashes in it. If anyone can help out, I'd appreciate it.
Thanks!!!
35Pete
May 26th, 2007, 6:22:09 PM
Hey guys. I'm writing a batch file that is exporting a .dmp file and I want to save it with the date timestamped on to it. I can do this file=file_%date%.dmp, but when the file gets dumped, it's in the mm/dd/yyyy format, and as we all know, you can't save a file with slashes in it. If anyone can help out, I'd appreciate it.
Thanks!!!
Can't you parse it into text pieces like mm "_" dd "_" and yy then write a print to the filename?
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.