lordflyingpoo Posted June 30, 2004 Posted June 30, 2004 is it possible to use a batch file to read a text file one line at a time and then execute a command based upon the data it reads in each line in the text file?
demlak Posted June 30, 2004 Posted June 30, 2004 thats the perfect explanation for a batch file =)well.. a batch file is not more than a txt file, wihch executes commands line after line.. (very simple said)
lordflyingpoo Posted June 30, 2004 Author Posted June 30, 2004 i dont want to have to modify the batch file, i just want it to read from another to get data and then execute based on that data.
lordflyingpoo Posted June 30, 2004 Author Posted June 30, 2004 what i am getting at is that i want to make a batch file for an attended cd that i dont need to edit after i write it.the reason for having the second file is just to put commands into which may get edited frequently, that way i dont have to rewrite the batch.
catwalker63 Posted June 30, 2004 Posted June 30, 2004 Sounds like your going to need to learn a scripting language like Perle or VBS. Good luck!
lordflyingpoo Posted June 30, 2004 Author Posted June 30, 2004 nevermind. i just found an easy solution for it using autoit.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now