Professional Windows Server 1002003 Security A Technical Reference [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Professional Windows Server 1002003 Security A Technical Reference [Electronic resources] - نسخه متنی

Roberta Bragg

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









setxnew in WS2003

Sets local or system environment variables.

Syntax


setx [/s Computer [/u [Domain\]User [/p [Password]]]] Variable Value [/m]
setx [/s Computer [/u [Domain \] User [/p [Password]]]] [Variable]
/k Path [/m]

Options


/s Computer /u [Domain\]User /p [Password]



Name or IP address of a remote computer (if omitted, defaults to
local computer) and credentials for running the script (if omitted,
defaults to SYSTEM built-in identity)


Variable



Name of environment variable to set


Value



Value to assign the variable


/k Path



Registry value to assign the variable (use
\HIVE\KEY\...\Value
format)


/m



The environment variable is a system variable (if omitted, it is a
local variable)



Examples


Set the system environment variable MYOS to the value WS2003:

setx MyOS "WS2003" /m

Set the local environment variable BootDevice to
the registry value SystemBootDevice in
HKLM\System\CurrentControlSet\Control:

setx BootDevice /k HKLM\System\CurrentControlSet\Control\SystemBootDevice

See Also


cmd, set


/ 415