Jump to content

Recommended Posts

Posted

How can I simply extract included files to the location I run the script from?

I am required to enter in the destination location which is "unknown" as the script will run from wherever and I want all extracted files to be placed in the same directory.

Creating a destination "\" just installs to the root C drive.

Posted

How can I simply extract included files to the location I run the script from?

I am required to enter in the destination location which is "unknown" as the script will run from wherever and I want all extracted files to be placed in the same directory.

Creating a destination "\" just installs to the root C drive.

@ScriptDir  ;Directory containing the running script.  (Result does not contain a trailing backslash)  
@ScriptFullPath  ;Equivalent to @ScriptDir & "\" & @ScriptName
Posted

@ScriptDir  ;Directory containing the running script.  (Result does not contain a trailing backslash)  
@ScriptFullPath  ;Equivalent to @ScriptDir & "\" & @ScriptName
Man that was quick...

I also found and tested:

$rootdir = @AutoItExe

which does what I need.

Thanks

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
  • Recently Browsing   0 members

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