Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,681 of 42,547    |
|    AlleyCat to All    |
|    This Works Great, but...    |
|    13 Oct 18 02:41:36    |
   
   XPost: alt.comp.editors.batch, alt.comp.lang.shell.batch.enhancements,   
   alt.comp.lang.shell.batch.msdos   
   XPost: alt.comp.lang.shell.batch.winnt, alt.msdos.batch.nt   
   From: al@aohell.com   
      
   if exist D:\Latest_MSI.gho for /f "tokens=1-5 delims=/ " %%d in ("%date%")   
   do rename "D:\Latest_MSI.gho" %%e-%%f-%%g_MSI.gho   
      
   That's part of a bacth file that I'm using to rename and move a ghost   
   image when creating a new one.   
      
   Can anyone re-write this to make the renaming be the date modified,   
   instead of the current date?   
      
   Thanks.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca