Sign in to follow this  
Followers 0
MerkurAlex

Set working directory

6 posts in this topic

Is there a way to set the working directory i know you can use @workinddir to get it but is there a way to set it?


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Is there a way to set the working directory i know you can use @workinddir to get it but is there a way to set it?

Yes! There is, I just have forgot it! Ahh, I'll keep looking!

FOUND IT!

FileChangeDir ( "path" )

FileChangeDir

--------------------------------------------------------------------------------

Changes the current working directory.

FileChangeDir ( "path" )

Parameters

path The path to make the current working directory.

Return Value

Success: Returns 1.

Failure: Returns 0 if working directory not changed.

Remarks

None.

Related

@WorkingDir

Example

FileChangeDir(@WindowsDir)

Edited by R6V2

Share this post


Link to post
Share on other sites

Is there a way to set the working directory i know you can use @workinddir to get it but is there a way to set it?

It would be good if a help file was supplied wouldn't it? and even better if there was a section something like 'File Directory and disc management'. I don't know why it hasn't already been done.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

Share this post


Link to post
Share on other sites

It would be good if a help file was supplied wouldn't it? and even better if there was a section something like 'File Directory and disc management'. I don't know why it hasn't already been done.

Yeah, I'd love to know where I found that documentation.

I actually had to search Martin...haha :)

Share this post


Link to post
Share on other sites

I had searched and i found nothing in the help file i always search on the forums and the help file before posting.


[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Share this post


Link to post
Share on other sites

If you would have searched: Working

You would have found it, there in black and white...

But this is what you needed right?

Next time, search a bit harder!

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