Batch File Troubles

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Batch File Troubles

Postby mastersquirrel » Thu Jul 07, 2005 1:08 pm

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.
User avatar
mastersquirrel
 
Posts: 696
Joined: Thu Oct 07, 2004 10:55 am
Location: I saw a squirrel! ...... It was going like this!!!

Postby Mithrandir » Sun Jul 10, 2005 1:55 pm

Is there a reason you are using a batch file, and not a simpler method, such as a C (or perl) program?
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 61 guests