April 4, 200818 yr Hey ppl,I was slipstreaming Vista using WAIK. I am using the Fire Geier's guide. I tried to add applications to the dvd, but failed miserably. I can add updates, no problem, but adding applications was messed.Anyways, after the system prep, I see a cmd window come up and it checks for all the drives that have the file AppsRoot.txt and then sets the environment variable to it, etc. But suddenly, it gives me an error when it detects some drive has it. Cant remember the error (too lazy to re-install just for the error) and then it shuts down. After i restart, it says the set up messed up.This is the code I used...cmd /c "cmdow @ /HID & FOR %i IN (C D E F G H I J K L N M) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"
April 9, 200818 yr I don't know if you've found your solution yet or not but I'm betting it has to do with the location of cmdow. If it doesn't reside in the system's current path at the time when you run this command, it will fail. I'd suggest just getting rid of it and just tryingcmd /c "FOR %i IN (C D E F G H I J K L N M) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"
Create an account or sign in to comment