Jump to content

Recommended Posts

Posted
well, it looks like you want %WINPATH% to expand to whatever...and in that case, you shouldnt need the caret at all...and I mentioned in my post that if you DID NOT want it expanded, then it was wrong...thats all, but from the post above this, you do want it to expand to D:\install or whatever. So, it is correct the way you have it, tho you could get rid of the carets, I would assume.

HuM this is where I found the carrot did M$ mess up

But where they place the double ^ don't work,, if I put them both on the outside it does work,,,,

To add a multivalued registry entry to HKLM\Software\MyCo with the options of ValueName: MRU, DataType: REG_MULTI_SZ, and ValueData: fax\0mail\0\0, type:

REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail\0\0

To add an expanded registry entry to HKLM\Software\MyCo with the options of ValueName: Path, DataType: REG_EXPAND_SZ, and ValueData: %systemroot%, type:

REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d ^%systemroot^%

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/ServerHelp/820b0e5b-0371-404d-8a22-a255273d3289.mspx


Posted

@TheeBeets

Is this possible to be run from Winnt.sif
It is possible, but not recommended.

You need your computer to reboot before you can use the variable. Just use Coolsights2000 advise and execute the batch at T=12.

could someone plz post a copy of what wpi.cmd

my wpi.cmd looks like this:

@ECHO OFF
cmdow @ /HID

ECHO.
ECHO Calling WPI
ECHO.

start /wait %CDDRIVE%\Settings\config\wpi\WPI.HTA

exit

Please note that I changed the name of my variable!! If you use Coolsights2000 example, change %CDDRIVE% to %XPCD% !!

and perhaps even put on unattended website as it makes things a lot easier

I agree :yes:

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...