1.

Solve : Loading Device Drivers in DOS?

Answer»

I am currently in charge of automating my company's imaging PROCESS. I am running into a issue where I am using WinPE from a USB bootable drive, and getting the batch file to LOAD the DRIVER from the thumb drive. LET me explain, The machines that I'm imaging have multiple partitions and differ from each machine. What command can I use in WinPE DOS to call the USB drive regardless of it drive letter? Is this possible?This is really a DOS question.

A batch file knows its own drive letter. It is CONTAINED in the special variable %0.

%~d0 expands to the drive letter (with colon).

Hope this helps.









Discussion

No Comment Found