Jump to content

Running apps via shell


sorex

Recommended Posts

Hello,I'm into vbscript now and most of the stuff is going better than first expected but now I have the following problem...I want to call a "dos/win32shell" application from in my script to extract some files out of an archive with the following code...set shell=wscript.createobject("wscript.shell")shell.run "7zip.exe", 1, trueall I get is "the system can not find the file specified"doesn't even work when using the full path like "h:\vbs\7zip.exe"although it works when I change it to "notepad" or "notepad.exe"any idea what could be wrong?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...