I think the problem comes from the space in "Program Files".
The comand you launch with "system" doesnt work in my cmd shell ! And the error shows it stops at the space.
There's a lot of workarounds, there maybe is one in the windows shell itself but i cant find it.
Along with the other solutions in this thread i would also consider Win32::Process .
ZlR
In reply to Re: system command can't spawn cmd.exe
by ZlR
in thread system command can't spawn cmd.exe
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |