Sign in to follow this  
Followers 0
graham

File name parse functions ?

5 posts in this topic

Please excuse my stupidity, but I am very new round here ...

I have searched the help file & forums and can not find functions to parse a file name, extracting volume/directory/name/extension.

Surely these exist? I am happy to code them if not, but I don't want to reinvent the wheel & they seem so basic that they surely must exist.

Sorry to trouble you with clueless newbie stuff ...

Share this post


Link to post
Share on other sites



I remember Valik wrote a function for this...

Here it is

http://www.autoitscript.com/forum/index.php?showtopic=634

Finally found it after 5 tries by searching for "UNC path"....

Fine, fine, I'll post the file to my user space on here. Stay tuned for a new post in Scripts & Scraps.

Share this post


Link to post
Share on other sites

Thanks very much!

Btw, is there a web site which lists such additional scripts & functions?

Share this post


Link to post
Share on other sites

Btw, is there a web site which lists such additional scripts & functions?

You can sometimes find project webpages, and some projects on sourceforge are designed in AutoIt. However, for a general location to look for odds and ends written in AutoIt, these forums are probably your best bet. Plus the forums here have a large userbase full of people willing to help you analyze, and overcome potential problems you encounter.

You might also be interested in looking at the Library Function Reference section in the helpfile if you haven't already. This section is a list of files and functions that you can include to expand the functionality of AutoIt. Each UDF has been written and submitted by a user, and included to make life that much eaisier for the rest of us.


[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

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