//flex table opened by JP

Click to See Complete Forum and Search --> : DOS batch file problem - poss W98 solution?


justy
03-02-2001, 05:29 AM
The problem I have is quite simple.

I want the system to automatically copy files from a data directory to a specified directory each month.

i.e.
I want to have 12 directories ( Jan - Dec ), and have a batch file that runs from the autoexec.bat to automatically copy files from one directory ( excel ) to one of the other directories ( Jan - Dec ), depending on the month value in the date.

Or if there's a different or easier way to do it, I'm open to suggestion.

Thanks in advance, Justy.

BFlurie
03-02-2001, 08:00 AM
I looked into something similiar before, & unfortunately couldn't come up w/a way for Win9X DOS to use the current date as variables (there's probably some way). But WinNT/2K's DOS did have a way -- on Winmag's site under "Batch files". Toward the bottom of this page:
http://www.browsertune.com/use_caution_with_these_files.htm

[This message has been edited by BFlurie (edited 03-02-2001).]

justy
03-02-2001, 08:19 AM
Cheers BFlurie,

I couldn't find anything on it myself. There has to be something out there though, I'll have to keep looking.
I'm limited to W98 though.

Thanks all the same, Justy.

BFlurie
03-02-2001, 02:07 PM
Look @ my referenced site -- there's alot of batch files. Might find something....

justy
03-02-2001, 02:16 PM
Hehe,

I've been playing with it all day. I've only came back to sysopt in the last 30 minutes or so. I got a great link off it to download a pile of batch files to play with or modify. Most of them are dos 3.3 - 6.22. but I'll stumble across something.

Thanks again, Justy.