Jump to content

Recommended Posts

Posted

can someone guide me as to how to have my .bat file autodetect my cdrom drive letter.

I am trying to put my additional programs which dont fit on my xp install cd onto another cdrom and want to install those programs from that cd automatically and unattended. I want my batch file from the first cd to automatically ask for another cdrom, find the programs on that cd and install them.

Thank you for your help.


Posted

wish I knew, I'll do some looking around and see if I can find anything, but your best bet may be to just guess and hope that you're right.

Posted

A little workaround:

Write a short vbs-script, which determines, what letter your cd-drive has.

This script set it as an enviromental var e.g.

set cdletter=F:

and you're able to find your cd!

Do you want have the code for that vbs ?

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
  • Recently Browsing   0 members

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