Jump to content
Sign in to follow this  

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


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

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


Is there any way to do that..??

Share this post

Link to post
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
Sign in to follow this