I have a long command line which will work fine from the command prompt but when I try to use it with the SHELL statement it fails. I think the problem is that the command line is being truncated.
Are the limits to the SHELL command line length? Are there any work arounds when a longer command line is needed?
The command line statement I am using is:
This works fine at the CMD Prompt
But the equivalent SHELL statement does not:
Any suggestions?
Are the limits to the SHELL command line length? Are there any work arounds when a longer command line is needed?
The command line statement I am using is:
Code:
7zg.exe a -tzip -r C:\PBWin90\FireFly30\Samples\Archiver\release\Archiver.zip C:\PBWin90\FireFly30\Samples\Archiver\*.*
But the equivalent SHELL statement does not:
Code:
SHELL "7zg.exe a -tzip -r C:\PBWin90\FireFly30\Samples\Archiver\release\Archiver.zip C:\PBWin90\FireFly30\Samples\Archiver\*.*"
Comment