Jump to content

script not working in Win 8.1 64 bit


Recommended Posts

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

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

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 by dracodoc
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...