in reply to system perl api fails with exit code 65280 on Win 2003
I have ensured that C:/zip.exe
The system code simply means that the program did not run.
The error code tells you that the command could not be found.
The reason is that the command shell expects forward slashes (\) not backslashes (/) in paths.
The reason is that the command shell expects backslashes (\) not forward slashes (/) in paths.
Change my $zipExec='C:/zip.exe'; to my $zipExec='C:\\zip.exe'; and your command will probably work.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system perl api fails with exit code 65280 on Win 2003
by karlgoethebier (Abbot) on May 22, 2013 at 15:24 UTC | |
by BrowserUk (Patriarch) on May 22, 2013 at 15:36 UTC | |
|
Re^2: system perl api fails with exit code 65280 on Win 2003
by Prakash Babu (Initiate) on May 22, 2013 at 14:54 UTC | |
by BrowserUk (Patriarch) on May 22, 2013 at 15:19 UTC | |
by Prakash Babu (Initiate) on May 22, 2013 at 15:28 UTC | |
by BrowserUk (Patriarch) on May 22, 2013 at 16:10 UTC |