Jump to content
Sign in to follow this  
nonplayablecharacter

folders

Recommended Posts

nonplayablecharacter

is auto it able to get every folder name in a specific location such as C:\

Edited by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

Share this post


Link to post
Share on other sites
JFee

Look at _FileListToArray and have a while loop that checks to see if there are folders in it. The logic would look like:

If there are folders in this directory....get the folder names

Then have it recursively check all of the subfolders


Regards,Josh

Share this post


Link to post
Share on other sites
weaponx

will DirRemove always remove a folder or will it somethime need admin rights? (i need answer for all operating systems pretty much)

That is a stupid question. It will perform the delete using YOUR permissions on any Windows OS. AutoIt doesn't magically bypass system security.

Share this post


Link to post
Share on other sites
nonplayablecharacter

That is a stupid question. It will perform the delete using YOUR permissions on any Windows OS. AutoIt doesn't magically bypass system security.

well...sry only reason i asked was because when i choose to delete with delete button it asks permisson but when i used DirRemove the directory was just deleted, no permisson needed

Edited by nonplayablecharacter

You can always count on me for the dumb questions ;)My Scripts:Rikku

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  

×