Jump to content
Sign in to follow this  
Guest oystercatcher

cdrom drive letter as variable

Recommended Posts

Guest oystercatcher

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.


Share this post

Link to post
Share on other sites
Guest oystercatcher

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

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