Jump to content

Open Root Directory only If Script.exe is Ran from Root Directory..?


Recommended Posts

how would script some autoit code to open up the root directory window in explorer only if the script.exe is ran from the root directory of a drive..

Ex:

If Script.exe is ran from C:\Script.exe then open C:\

If Script.exe is ran from F:\Script.exe then open F:\

Ect...

Is there any way to do that..??

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