|Forgot to add in the escape characters, but I fixed that. Mechanix2Go's offering and mine are two separate scripts, so don't replace just the "for" line. Replace everything.|
for /f "tokens=1,2* delims=|" %%a in (%file%) do @>> "%file%.%%b" echo %%a^|%%b^|%%c
EDIT: Due to the way batch files operate, this is probably the closest you're going to get in terms of the output file names.
How To Ask Questions The Smart Way