universal cd&usb boot for winpe?

5 replies [Last post]
Nights's picture
Joined: 2009/08/12

hey im havin a small problem with winpe where the CD drive letter on different computers isnt always gonna be D:\ and the USB isnt gonna always be H:\ is there a way thru batch i can have it find the cd drive letter then use it, and same for the USB drive letter for which the drive is plugged into?i was thinking something like:

set cddrive=d:\

then for the program i have autostart it would say in the startnet.bat in the boot.wim under windows\system32


would that work or would i need to something like


and if so how does that work exactly? also need this to work for usb if possible

Update: neither worked.. any ideas?