yaoyao117 Posted December 9, 2004 Posted December 9, 2004 I can get the system drive name such as $sysdirve=@HomeDrive.but when i scripting in the orther drives ,such as d: ,I want to get the current drive name ,but,I can't get it ! please help me !
MHz Posted December 9, 2004 Posted December 9, 2004 Have you tried using DriveGetLabel ? If it is not in your current version of Autoit, then get the latest 3.0.103 unstable.
this-is-me Posted December 9, 2004 Posted December 9, 2004 $sysdrive = StringLeft(@WindowsDir, 2) Who else would I be?
yaoyao117 Posted December 9, 2004 Author Posted December 9, 2004 Have you tried using DriveGetLabel ?If it is not in your current version of Autoit, then get the latest 3.0.103 unstable. <{POST_SNAPBACK}>I 'm not that mean,I want to get the working drive letter such as "c:","d:","e:"ect. the drivegetlabel only can get the label!
yaoyao117 Posted December 9, 2004 Author Posted December 9, 2004 $sysdrive = StringLeft(@WindowsDir, 2)<{POST_SNAPBACK}>thank you very much ,I've got the answer .$workingdrive=stringleft(@workingdir,2);thank you!
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