Hi! I'm using a .bat file to run splitr.exe on 4 separate .par files. Script works great but Split won't close thus causing it to hang and failing to run at subsequent intervals. I've tried /R and /Q at end of par files to close and force close, respectively, but that doesn't seem to work. I can close Split and the process runs again, but Split remains open.
Example code that I'm using:
@echo offstart C:\FilePath\SPLITR /H C:\ParPath\Par1.PAR ; C:\ParPath\Par2.PAR ; C:\ParPath\Par3.PAR ; C:\ParPath\Par4.PAR/Q
exit
Thanks for any help.
I believe you should break it into 4 separate calls with the /H and /Q on each. If the PAR files act on different data files, you could use /M also to run multiple copies. There is a note in the help about how to handle that in the batch file.
@echo offstart C:\FilePath\SPLITR /H C:\ParPath\Par1.PAR /Q;C:\FilePath\SPLITR /H C:\ParPath\Par2.PAR /Q ;C:\FilePath\SPLITR /H C:\ParPath\Par3.PAR /Q; C:\FilePath\SPLITR /H C:\ParPath\Par4.PAR/Q
exit
This post is under review.