|
Answer» Hello all, Don't know if anyone can help me as i need to do this by this evening... but here goes...
I need to MAKE a simple batch file that can ...
1. Create a new empty file under the directory IT103 and call it IT103.txt (From a Different ACTIVE directory starting point.)
2. I need it to then Change the Active Directory to :\IT103
3. If the file IT104.txt Exists, Then delete this file
4. If the file IT103.txt Exists, then delete this file
5. Then i need to Have it Echo a message on the screen that says "Deleting Files" (I actually know how to do this part)
6. And i need to have it not display the actual DOS Commands when playing the Batch file (Which i do believe is @Echo Off )
7, I need to have a comment placed in the Dos Batch file that says "This batch file will create a directory and a file and then delete the file."
8. And last Prior to ending the batch file, I need to have it position me to the Primary drive (Lets Say Q:) root directory and delete the IT103 directory.
Please and thank you for your help!!!Which OS are you using (W2K, WXP, MS-DOS, ...)?
Cheers, [glb]cs[/glb]HI I WANTED DO LEARN TO DO SOMETHING SIMILAR i'M ACTUALLY USING WINDOWS XP THANKS
|