| 1. |
Solve : bat scipt to input text from another file? |
|
Answer» im not very GOOD with this but can SOMEONE help me with the following. i'm trying to do something with mame arcade driver files. i have a text file names drivers.txt with words listed like below... worked pperfect thank you so much. if dont mind me asking what is everything in the first line doing. and thank you againFrom the FOR help. Code: [Select]FOR /F ["OPTIONS"] %variable IN (file-set) DO command [command-parameters] filenameset is one or more file names. Each file is opened, read and processed before going on to the next file in filenameset. Processing consists of reading in the file, breaking it up into individual lines of text and then parsing each line into zero or more tokens.If you need more info on for loops, type 'for /?' in cmd, to get a 3 page explanation on the different types and how they work. |
|