Bert Posted August 1, 2006 Share Posted August 1, 2006 (edited) Take a look at the pic. It works when I do it from DOS, but not when I use _RunDOS. ?????? It runs, but nothing gets unzipped. edit: removed pic Edited August 1, 2006 by vollyman The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
/dev/null Posted August 1, 2006 Share Posted August 1, 2006 Take a look at the pic. It works when I do it from DOS, but not when I use _RunDOS. ?????? It runs, but nothing gets unzipped. _RunDos() does exactly what you did with RunWait(). Func _RunDOS($sCommand) Return RunWait(@ComSpec & " /C " & $sCommand, "", @SW_HIDE) EndFunc ;==>_RunDOS The problem is: With RunWait() you specify the exact path of pkunzip (c:\) while with _RunDos() you don't! Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Helge Posted August 1, 2006 Share Posted August 1, 2006 Why BMP ? Whyy whyy !? Link to comment Share on other sites More sharing options...
Bert Posted August 1, 2006 Author Share Posted August 1, 2006 (edited) This is a pic of the DOS window when I run the following from SciTe. You can see it runs, but PKZIP acts like there is a issue: RunWait(@COMSPEC & " /c c:\pkunzip.exe -d -e -o usr.zip") If I run this from DOS, it works fine: C:\>pkunzip.exe -d -e -o usr.zipI'm using the same switches, and the path is the same. Edited August 1, 2006 by vollyman The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
/dev/null Posted August 1, 2006 Share Posted August 1, 2006 This is a pic of the DOS window when I run the following from SciTe. You can see it runs, but PKZIP acts like there is a issue: RunWait(@COMSPEC & " /c c:\pkunzip.exe -d -e -o usr.zip") If I run this from DOS, it works fine: I'm using the same switches, and the path is the same. Path (c:\), not switches !!! Cheers Kurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
MHz Posted August 2, 2006 Share Posted August 2, 2006 I'm using the same switches, and the path is the same. WorkingDir is causing the problem. 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