Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Batch File
Name: Avinash Date: October 31, 2003 at 10:49:38 Pacific OS: Win 2k Server CPU/Ram: 2G/1G
Comment:
Hi, I am trying to write a batch file which does the following: 1. Move all the files created on weekdays to be sorted to their respective days folder Example: Files created on Tuesday should be moved to a folder named "Tuesday"(When the batch file is run on Wednesday). 2. Only that particular day's created files should be present in the main directory and the other files should be moved to their respective days(created days) folder!!!!! Could you please help me out!!!!! Thanks. A
Name: dtech10 Date: November 4, 2003 at 15:39:31 Pacific
Reply:
Hi Avinash This seems an interesting problem. I'm not familar Win 2k Server,but if you type "echo %date% at on the command line do'es it output ie. "10/04/2003" or doe's it output "Tue 10/04/03" which I believe NT doe's. I running WinXP Pro which output the date in the first format. Are there only todays and yesterdays files in the directory which you want to copy from. The reason I ask about the date format is that we may have to use a third party batch utility to obtain the weekday. But if it's the same output as NT than it won't be required.
Summary: I need help with writing a batch file that returns an error code to another application (app1). My batch file is called by another application, when my batch file runs, it calls a VBS Script. This scr...
Summary: Hi i have made a batch file which installs a bit of software and then runs it. i need a command which after the first line of the batchfile has been run it waits 20 seconds and then the second line ru...