sshrum Posted February 27, 2005 Posted February 27, 2005 I'm writting a script that sets up a temporary drive mapping to do installs. I need a way to find the first available drive letter that is not already in use so I can define it in my DriveMapAdd. Anyone have a down and dirty code snippet for this? TIA Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
CyberSlug Posted February 27, 2005 Posted February 27, 2005 Look closely at the documentation for DriveMapAdd: $letter = DriveMapAdd("*", "\\server\share") Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
sshrum Posted February 27, 2005 Author Posted February 27, 2005 Opps...I was looking at the examples for FileExists to do drive existance testing. :"> Again the obvious eludes me. Thanx. Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot'
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now