|
|
#1 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Quoting a system command
Hello. I have the following:
!system '"${NSISDIR}\Bin\foo"' = 0 Trying to compile this using 2.12 I get this: !system: ""C:\Program Files\NSIS\Bin\foo"" 'C:\Program' is not recognized as an internal or external command, operable program or batch file. If I remove the comparison: !system '"${NSISDIR}\Bin\foo"' ...it compiles. Bug? - Andy |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
[Stupd message board won't let me edit my own posts...]
I forgot to mention that I'm running Windows 2000. - Andy |
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Works fine for me with ${NSISDIR}\Bin\GenPat.exe. Please include a complete example.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Dec 2005
Location: Canada
Posts: 18
|
Having tried a whole slew of things, I think it is actually an error with the error message...
It is truncating "C:\Program Files\NSIS\Bin\foo" to "C:\Program". Based on the error message, I thought it was trying to execute "C:\Program", but it probably isn't - it is probably trying "C:\Program Files\NSIS\Bin\foo", and since I had a typo in the path it couldn't execute it. - Andy |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|