SHELL is only receiving the first 218 characters when shelling between two
PbWin programs. I will need to pass more than this to a 3rd party program.
Is there a way to increase the environment space using XP PRO XP3.
I've tried chopping several things out and rebooted with no success.
I've requested only passing a file name with the parameters within it, but that may come later.
With these test programs the max is 243 characters on this machine.
'tried this suggestion on google without luck.
SHELL "c:\windows\system32\cmd.exe /e:2048 /c " + "c:\test2.exe " + s$ '204 characters
'Found a work-around to at least pass enough characters
CHDIR "\program files\yadda\yadda"
SHELL programname$ + " " + parameters$
Where it was SHELL "c:\program files\yadda\yadda\programname " + parameters$
PbWin programs. I will need to pass more than this to a 3rd party program.
Is there a way to increase the environment space using XP PRO XP3.
I've tried chopping several things out and rebooted with no success.
I've requested only passing a file name with the parameters within it, but that may come later.
With these test programs the max is 243 characters on this machine.
Code:
#COMPILE EXE "\test1" FUNCTION PBMAIN AS LONG s$ = STRING$(310,"A") + $CRLF SHELL "c:\test2.exe " + s$ END FUNCTION
Code:
#COMPILE EXE "test2" FUNCTION PBMAIN AS LONG ? STR$(LEN(COMMAND$)) END FUNCTION
'tried this suggestion on google without luck.
SHELL "c:\windows\system32\cmd.exe /e:2048 /c " + "c:\test2.exe " + s$ '204 characters
'Found a work-around to at least pass enough characters
CHDIR "\program files\yadda\yadda"
SHELL programname$ + " " + parameters$
Where it was SHELL "c:\program files\yadda\yadda\programname " + parameters$
Comment