Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Split won't close using .bat file


epeitzsch Nov 6, 2024 06:49 PM

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.


JDavis Nov 12, 2024 08:56 PM

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


willarnett Nov 19, 2024 07:33 AM

This post is under review.

Log in or register to post/reply in the forum.