Jump to content
Sign in to follow this  
ulf

Working Directory Info?

Recommended Posts

ulf

Hello,

does a function exist which tells me from which directory a autoit-script or autoit-exe is running from?

I need this info because i would like to write some ini-information into the same directory.

Regards

Ulf

Share this post


Link to post
Share on other sites
Generator

Hello,

does a function exist which tells me from which directory a autoit-script or autoit-exe is running from?

I need this info because i would like to write some ini-information into the same directory.

Regards

Ulf

You should look in help file before you post.

@ScriptDir

Share this post


Link to post
Share on other sites
ulf

Thanks for the help!

You should look in help file before you post.

@ScriptDir
Try to search in the help-file for "working directory" and you know why i posted this question here.

Regards

Ulf

Share this post


Link to post
Share on other sites
/dev/null

Thanks for the help!

Try to search in the help-file for "working directory" and you know why i posted this question here.

Regards

Ulf

There are thousands of matches, so I don't know what you mean. Anyway: look at @WorkingDir.


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites
ulf

There are thousands of matches, so I don't know what you mean. Anyway: look at @WorkingDir.

Exactly thats the problem! Thousand of matches are as good as no match.

Share this post


Link to post
Share on other sites
/dev/null

Exactly thats the problem! Thousand of matches are as good as no match.

O.K. searching for "working directory" in the help file returns just 18 entries, and the 4th is the one which counts.... So, it's always good to search the help file first!


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

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  

×