E J Pope
asked on
VBS file - No output
I am working on a bat file that swaps around columns in a file and adds 1 to one column in the file. The code that I have written is processing without error and producing a file, but the file has no data in it. I can't figure out if I have a problem in my set statements for each line or if I have a problem in my for loop that creates the file. Can someone help me?
Thanks,
Cindy
file-translator.txt
Thanks,
Cindy
file-translator.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Bill and Steve!
You have made my day.
Cindy
You have made my day.
Cindy
ASKER
Thanks again for Experts like you being willing to help those of us who aren't.
Cindy
Cindy
Welcome, glad that was helpful.
~bp
~bp
ASKER
Thank you so much. I could not figure out that last piece and the internet was very little help.
Last thing not working, I thought I could just add a 1 to %%d (%%d+1), but the result came back blank. The adding of 1 to d is only when "%%c"=="1437", so I can't add it all the time. Do I have my syntax wrong or is this not the way I can do it?
Cindy