ok i need a hand on this i am trying to get a cmd that will find the usb thumb drive in any computer i plug it in to.
The usb drive in a winpe with 2 partitions.
partitions 1 is the winpe
partitions 2 is the images
It's also bitlocked
i have this script i found the file name is unlock
@echo off & cls
manage-bde.exe -unlock -password %Volume%
echo. & pause & echo.
:: End of script
to run it i just unlock d
the D drive would be the bitlocked usb drive. It would ask for the password i enter it in and it unlocks it for me.
That's great after it unlock i want it to launch a hta file on the unlocked usb drive.
What i need help with is HOW do i find the usb drive letter and have it run the command unlock "drive letter it finds"
I always what it to prompt for the password i type it in and them it opens the hta file on the usb drive