Need some file check and variable set help.
Posted: 01 Sep 2011 13:15
Hi!
Okay, this is my problem:
I want a batch file to check a folder for files, then put (if its a text file) the contents in a variable eg. set variable1=%content_of_file1% or more specific the second line. And it continues like this:
set variable2=%content_of_file2%
set variable3=%content_of_file3%
set variable4=%content_of_file4%
...
Okay, this is my problem:
I want a batch file to check a folder for files, then put (if its a text file) the contents in a variable eg. set variable1=%content_of_file1% or more specific the second line. And it continues like this:
set variable2=%content_of_file2%
set variable3=%content_of_file3%
set variable4=%content_of_file4%
...