Jump to content

Recommended Posts

Posted

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?

Posted

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.

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