Skip to main content
Question

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

  • June 26, 2020
  • 2 replies
  • 109 views

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,

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

becchr
Influencer
Forum|alt.badge.img+32
  • Influencer
  • 107 replies
  • 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
  • 3 replies
  • June 29, 2020

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