Jump to content

Recommended Posts

Posted

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"


Posted

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 trying

cmd /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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...