Guest oystercatcher Posted July 13, 2005 Posted July 13, 2005 I am setting up a cd with various programs which will be used after an unattended install of win2k or winxp. Planning on using a combination of bat files and autoit for the program installs. The bat files are running fine with set CDROM=%~d0 which I can then use in the path to the files on the cdrom. Is there something similar in autoit? The method in the bat files gives me the correct drive letter whatever cdrom is being used. Thanks
blindwig Posted July 13, 2005 Posted July 13, 2005 StringLeft(@ScriptDir, 1) My UDF Threads:Pseudo-Hash: Binary Trees, Flat TablesFiles: Filter by Attribute, Tree List, Recursive Find, Recursive Folders Size, exported to XMLArrays: Nested, Pull Common Elements, Display 2dSystem: Expand Environment Strings, List Drives, List USB DrivesMisc: Multi-Layer Progress Bars, Binary FlagsStrings: Find Char(s) in String, Find String in SetOther UDF Threads I Participated:Base64 Conversions
Guest oystercatcher Posted July 14, 2005 Posted July 14, 2005 That worked perfectly, nice and simple also dont think I would have found that on my own Thanks, converting my au3 scripts to run from cdrom
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