I need some help.
I create a vista unattended, which works fine.
Now i want a menu in windows pe which asks to user to really reinstall vista!
For this i wrote a batch file which will be executed from a synchronous commands in my autounattend.xml.
The problem is that i need the drive letter of the usb- or cd/dvd drive where the batch file is located!
In Phase 4 and 7 this was no problem....i executed the below listed code and got a environmental varibale set to the drive where the appsroot.txt file is located! But this does not seem to work in windows pe!
cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"