Page 1 of 1

Batch File Troubles

PostPosted: Thu Jul 07, 2005 1:08 pm
by mastersquirrel
Alright... I am using batch files to keep track of a number that I will be using in the name of another file to be created. This number will be stored in a .txt file. I need to know a way that I can take the number from the text file and put it into a variable using something like "set".

Does anyone have an idea how to do this?

EDIT: By the way, this number will need to be incremented every time that I use a certan batch file.

PostPosted: Sun Jul 10, 2005 1:55 pm
by Mithrandir
Is there a reason you are using a batch file, and not a simpler method, such as a C (or perl) program?