|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
DOS/NT bat file help needed URGENT
I have a file that is created (0526000004.TMP) in one directory. The file is creating daily and has the format of today's date being in the name (ie. file above is the file for May 26, 2004).
I need to go to that directory and grab that file (based on today's date, but formatted like the filename is formatted "MMDDxxxxYY".TMP), copy or move that file to another directory called "Backup", then copy that file to another directory called "Renamed" and rename the file "Import.TMP". From the "Renamed" directory, I will be importing that file daily into an MS Access Db. This will be a daily occurrence. Im rough with DOS commands, so any help would be much appreciated! Thanks Cavall Last edited by cavall : May 28th, 2004 at 01:58 PM. Reason: NT script instead of DOS -- win2k or xp box |
|
#2
|
|||
|
|||
|
DOD/NT BAT to copy rename daily
Hi Cavall,
Do you still need this? If so, what OS(s) are you using? Exactly. And does the xxxx in the filename matter? DC |
|
#3
|
|||
|
|||
|
nah
No thanks.. i got it figured out..
But I appreciate the help ... Cheers, cav |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > DOS/NT bat file help needed URGENT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|