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 40,711 of 42,547    |
|    foxidrive to Tim Meddick    |
|    Re: Copy option    |
|    05 Aug 13 02:08:52    |
      From: not@this.address.invalid              On 4/08/2013 23:58, Tim Meddick wrote:       > You could use Environment Variables to provide unique destination       > filenames; such as the current date:       >       > copy filename.ext filename_%DATE%.ext       >       > ....which would result in an example filename, of the copied file;       >       > copy MyNotes.doc MyNotes_04-08-13.doc              It helps to mention the common drawbacks as well when you make a comment.              It certainly won't create a legal filename here, and nor in Merry Olde England       on a default machine, I       think, as England uses a slash in the date.                            Sent from the English Penal Colony.              --       foxi              --- 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