Skip to main content
Question

System caller : comand line works in cmd not in system caller


Hello,

I am using 7z to unzip files and would like to use it through System Caller. The command works perfectly fine in cmd, but not in system caller.

Here is my command :

"C:\\_temp\\7z.exe" x "C:\\_temp\\input\\data.zip" -o"C:\\_temp\\output"

When this line is written in a .bat file and this file is executed through System caller, it works.

 

What should I do to be able to execute my command directly in system caller?

 

Many thanks in advance,

 

 

2 replies

becchr
Influencer
Forum|alt.badge.img+26
  • Influencer
  • June 26, 2020

hi, @cadfmegeo, is it working if you put the command itself between extra marks like this?

""C:\_temp\7z.exe" x "C:\_temp\input\data.zip" -o"C:\_temp\output"" 

 


  • Author
  • June 29, 2020

Thank you very much, it works very well that way!


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings