sorex Posted January 4, 2006 Share Posted January 4, 2006 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 More sharing options...
aspnetguy Posted January 4, 2006 Share Posted January 4, 2006 try putting 7zip.exe in the same folder as notepad.exe, it may be as simple as a permissions issue. Link to comment Share on other sites More sharing options...
sorex Posted January 5, 2006 Author Share Posted January 5, 2006 Nope, doesn't work either Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now