Help trying to pull variables from a tab delimited text file into a script.
Posted on 2013-11-08
Hello, I am trying to pull 2 variables from a tab delimited text file to run a batch script.
I have one batch script which calls the other and the data from the text file.
For /F %%x %%y n (feed.txt) do import.bat %%x %%y
Then I input %1 for variable1 and %2 for variable2
When I run the import.bat file as follows "import.bat username card#" it works.
My text file is tab delimited.
Ideally I would like to have a text file user variable1 ignore variable2 and use variable3 but I can run another export with jsut the 2 variables. Thanks in advance.