Okay, so let me rephrase wht you try to do.

You provide users with a CD-ROM containing an IE6 install (hopefully prepared with IEAK for completely silent install!). After the IE6 install, you also want to copy over the HOSTS file from the same CD-ROM.

Q: Where is the script being run from?

My solution: KiXtart and the script are included in that CD-ROM. User clicks on an INSTALLME.BAT file which in turn starts the KiXtart script. Thus, the @SCRIPTDIR macro includes the dirveletter of the CD-rOM dirve as it is being started from there. Then LEFT(@SCRIPTDIR,1) will give you the drive letter.

Alternatively, see the following UDFs: WshEnumDrives() - Enumerate drives on your local machine and DriveEnum() - return a list of specific, connected drive types

Finally, there might be a way to include the HOSTS file update into the IE install though the IEAK. I highly recommend to use IEAK for the deployment, giving users choices is a risk!
_________________________
There are two types of vessels, submarines and targets.