dracodoc Posted July 2, 2014 Share Posted July 2, 2014 I have a small script that worked in win 7 32 bit, but failed in win 8.1 64 bit. I'm using 64 bit autoit3 now. The line that have error is very simple, I can't think of why it should not work: RunWait("unzip e:\t.zip -d e:\t") I have unzip in my path, the "unzip e:t.zip -d e:t" command will execute in command line if inputed manually. What have been going wrong? Do I need to install the 32 bit autoit? Link to comment Share on other sites More sharing options...
boniakowski Posted July 2, 2014 Share Posted July 2, 2014 I have a small script that worked in win 7 32 bit, but failed in win 8.1 64 bit. I'm using 64 bit autoit3 now. The line that have error is very simple, I can't think of why it should not work: RunWait("unzip e:\t.zip -d e:\t") I have unzip in my path, the "unzip e:t.zip -d e:t" command will execute in command line if inputed manually. What have been going wrong? Do I need to install the 32 bit autoit? you maybe need to put the correct path and the WORKING DIR. from runwait help RunWait ( "program" [, "workingdir" [, show_flag [, opt_flag]]] ) RunWait(DirLocationExample: "C:\unzip\unzip e:\t.zip -d e:\t",WorkingDir(Example: "C:\unzip\") If not have the working dir the script don´t run correctly. or maybe directly not run. Christian. Link to comment Share on other sites More sharing options...
dracodoc Posted July 2, 2014 Author Share Posted July 2, 2014 (edited) Thanks, I added the full path (without WORKDIR) and it worked. Though I'm curious about this, because unzip is in my system path and the script has been working in win7 32 before. Edited July 2, 2014 by dracodoc 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