Question Locked

How to create a multitasking batch file?

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am in the process of creating a batch file (using a .bat file in Notepad, Windows XP) that executes a number of different requests:

1)Create a directory that first prompts for the current month. If the folder doesnt already exist then it creates a new folder and names it the current month.

2) Create a subdirectory in the current month folder just made or not, that prompts the user for yesterdays date and names it yesterdays date.
(these two steps should result in a folder named yesterdays date within a current month folder)

3)Delete files from an existing directory that have no specific file type.

4) Move certain files beginning with "CH07" into an existing directory

5)Run a .cmd file

6)Pause (so the user can print results) and possibly continue with the hit of any key

The rest of the batch file I can handle.

If you have a suggestions for any of the numbers above please feel free to answer.
Your help is greatly needed and appreciated!
Thanks in advance!

3 replies

by jackofalltech

Go to www.autoitscript.com and download the latest version. Don't let the 'script' fool you, this is a complete, robust programming language that can do anything you need and more.

Ralph

This discussion is closed to new replies.