Installation / batch files

  • Thread starter Amsterdam Vibration
  • Start date
A

Amsterdam Vibration

I am creating a CD-Rom which contains HTML pages which call upon batch
files. These batch files take care of the installation of software programs
or parts of it. Running these batch files directly from the Windows Explorer
does not lead to any errors. Running the batch files from the Frontpage
preview window does not lead to any error as well. So far, so good.

Running the batch files from the Internet Explorer (which is finally the
intention of course) lead to the fact that they won't run. In this case the
batch files change their environment to C:\Document and
settings\%username%\Desktop, so they do not point to the CD-Rom drive
anymore. This installation is meant for users at home. So it is difficult to
decide which drive letter the user's CD-Rom drive is.

My questions in order of priority:

1. There should be simple way to tell the batch file to stay in the
environment in which is was started. (e.g. G:\..... if G is user's CD-Rom
drive letter) If batch files, VB scripts, kix scripts, registry keys can
manage this, then
it's no problem.

2. How to decide which drive is the user's CD-Rom drive letter?

Thank you in advance for your answer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top