sorex 0 Posted January 4, 2006 Report 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? Quote Link to post Share on other sites
aspnetguy 30 Posted January 4, 2006 Report 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. Quote Link to post Share on other sites
sorex 0 Posted January 5, 2006 Author Report Share Posted January 5, 2006 Nope, doesn't work either Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.