rene-st Posted January 12, 2006 Share Posted January 12, 2006 I'm making an unattened windows 2000 disc.so i have to make a RunOnceEx.cmd Only i dont know some symbols like/f/s/vsymbols like thatAnyone who can help me?Thx Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted January 12, 2006 Share Posted January 12, 2006 (edited) You mean for REG ADD syntax?C:\>reg add /?Console Registry Tool for Windows - version 3.0Copyright (C) Microsoft Corp. 1981-2001. All rights reservedREG ADD KeyName [/v ValueName | /ve] [/t Type] [/s Separator] [/d Data] [/f] KeyName [\\Machine\]FullKey Machine Name of remote machine - omitting defaults to the current machine Only HKLM and HKU are available on remote machines FullKey ROOTKEY\SubKey ROOTKEY [ HKLM | HKCU | HKCR | HKU | HKCC ] SubKey The full name of a registry key under the selected ROOTKEY /v The value name, under the selected Key, to add /ve adds an empty value name <no name> for the key /t RegKey data types [ REG_SZ | REG_MULTI_SZ | REG_DWORD_BIG_ENDIAN | REG_DWORD | REG_BINARY | REG_DWORD_LITTLE_ENDIAN | REG_NONE | REG_EXPAND_SZ ] If omitted, REG_SZ is assumed /s Specify one charactor that you use as the separator in your data string for REG_MULTI_SZ. If omitted, use "\0" as the separator /d The data to assign to the registry ValueName being added /f Force overwriting the existing registry entry without promptExamples: REG ADD \\ABC\HKLM\Software\MyCo Adds a key HKLM\Software\MyCo on remote machine ABC REG ADD HKLM\Software\MyCo /v Data /t REG_BINARY /d fe340ead Adds a value (name: Data, type: REG_BINARY, data: fe340ead) REG ADD HKLM\Software\MyCo /v MRU /t REG_MULTI_SZ /d fax\0mail Adds a value (name: MRU, type: REG_MUTLI_SZ, data: fax\0mail\0\0) REG ADD HKLM\Software\MyCo /v Path /t REG_EXPAND_SZ /d %%systemroot%% Adds a value (name: Path, type: REG_EXPAND_SZ, data: %systemroot%) Notice: Use the double percentage ( %% ) inside the expand string Edited January 12, 2006 by nmX.Memnoch Link to comment Share on other sites More sharing options...
fizban2 Posted January 12, 2006 Share Posted January 12, 2006 (edited) never mind wasn't thinking rightwouldn't be MSI switches... Edited January 12, 2006 by fizban2 Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted January 12, 2006 Share Posted January 12, 2006 That's why I asked. I just knew off the copy of my head that /s, /v and /f were all switches for REG ADD. Link to comment Share on other sites More sharing options...
rene-st Posted January 13, 2006 Author Share Posted January 13, 2006 Ok people Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now