Jump to content

Get file path


Recommended Posts

Hi,

I'm ertrieving a value from SQL and need help with getting the file path (The SQL string contains the full path and filename, so I want to remove just the name)

the object of this is to create a shortcut to the file directory on the users desktop. Shortcut creates fine, SQL value retrieves fine, just need help with removing the file name?

Cheers!

Link to comment
Share on other sites

i suggest using _PathSplit($szPath, ByRef $szDrive, ByRef $szDir, ByRef $szFName, ByRef $szExt) , the AutoIT help file may be useful :-)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...