#155183 - 2006-01-12 10:47 PM
Re: Shell
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Shell '%COMSPEC% /c "'+$program+'" /export:"'+$TMPFILE+'" /f:$bugfile'
basically, you have to watch for long file names and have them quoted properly
|
|
Top
|
|
|
|
#155189 - 2006-01-13 04:29 PM
Re: Shell
|
Richard H.
Administrator
   
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Try: Code:
Shell '"'+%comspec%+'" /c "'+$c+'" /m:"'+$g+'" /export:"'+$e+'" /f:"'+$f+'"'
|
|
Top
|
|
|
|
#155192 - 2006-01-13 05:05 PM
Re: Shell
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
don't need the quotes around comspec or $g
CMD freaks if there are too many quotes on a cmd line
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 978 anonymous users online.
|
|
|