Search found 3 matches

by charlottetat
09 Jun 2011 07:28
Forum: DOS Batch Forum
Topic: NOOB needs help
Replies: 5
Views: 5285

Re: NOOB needs help

Sorted, cheers Ed.
by charlottetat
09 Jun 2011 04:47
Forum: DOS Batch Forum
Topic: NOOB needs help
Replies: 5
Views: 5285

Re: NOOB needs help

Thanks for your help Ed. To test I edited the batch to try and copy the file to a local location but it's still not moving the file: Set FileDate=%date:/=% ren c:\batchtests\backuplog.txt %FileDate%backup.txt PING 1.1.1.1 -n 1 -w 10000 >NUL xcopy c:\batchtests\*.txt to c:\batchtests2 Any ideas? Clep...
by charlottetat
09 Jun 2011 03:16
Forum: DOS Batch Forum
Topic: NOOB needs help
Replies: 5
Views: 5285

NOOB needs help

Hi All. I'm writing a batch file that will rename a log file to include the date in the filename then move or copy the log file to a network location. So far the rename is going fine although the date is in ddmmyyyy format and I would prefer yyyymmdd format but the file is not moving. Here it is so ...