Jump to content

FileInstall() - To root directory?


Recommended Posts

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.

Link to comment
Share on other sites

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
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...