Sign in to follow this  
Followers 0
Phaser

Path to current Directory

4 posts in this topic

Hi Guys

I've just added

$aArray = _FileListToArray("\Program Files\AutoIt3\SciTE\MyFolder\TheGroup\Data", "*.txt")

To a script I have, it works fine and wondered if there was a call available to GET the current directory instead of the long one printed above? it would help for using on various PC's, I looked through the help file but couldn't find anything, I found @Desktop etc.

Possible?

Share this post


Link to post
Share on other sites



There's a couple macros listed in the help file that may benefit you, Such as JohnOne posted @ScriptDir, There is also @WorkingDir, @ProgramsFilesDir. I suggest you take a look to find the most appropriate macro for your application.

Share this post


Link to post
Share on other sites

Thanks guys

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  
Followers 0