answersLogoWhite

0


Best Answer
Substituting environment variable values

To enable the substitution of variable values at the command line or in scripts, enclose the variable name in percent signs (that is, %variablename%). By using percent signs, you ensure that Cmd.exe references the variable values instead of making a literal comparison. After you define variable values for a variable name, enclose the variable name in percent signs. Cmd.exe searches for all instances of the variable name and replaces it with the defined variable value. For example, if you create a script that contains different values (for example, user names) and you want to define the USERNAME environment variable for each user with these values, you can write one script using the variable USERNAME enclosed in percent signs. When you run this script, Cmd.exe replaces %USERNAME% with the variable values, which eliminates the need to perform this task manually for each user. Variable substitution is not recursive. Cmd.exe checks variables once. For more information about variable substitution, see For and Call

From the above Technet description, the % signs are used to ensure that "cmd.exe" does not literally use the term "systemroot" and references the systemroot variable correctly (So therefore %systemroot% is recognised correctly as the C:\ drive, if C:\ is your systemroot).

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do the percent signs in SystemRoot represent?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Computer Science

What does SFC.exe mean?

SFC.exe is the windows system file checker. It checks system files for corruption or unwanted changes. If sfc discovers that a protected file has been overwritten, it retrieves the correct version of the file from the %systemroot%\system32\dllcache folder, and then replaces the incorrect file. If %systemroot%\system32\dllcache folder is corrupted, you need to have the windows installation CD to replace damaged files. %systemroot% is usually C:\WINDOWS.


What command do you enter in the Explorer search box to access the Remote Admin share on the computer name Fin?

%systemroot% folder. Enter the path \computernameadmin$ to access the %systemroot% folder (most likely the C:Windows folder) on a remote computer. The admin$ administrative share is called the Remote Admin share.


How can you remove Download Trojan that has infected the file C WINDOWS isrvs sysupd.dll?

You need to run these 5 essential steps to remove all the spyware on your computer.1. Run Deckard's System Scanner (DSS)2. Run Malwarebytes Anti-Malware3. Run the anti spyware removal programs spybot4 Run Superantispyware5. Run a complete scan with free curing utility Dr.Web CureIt!Install threat fire which will enhance your antivirus protection1. back up your registry and your system, and/or setting a Restore Point2. Open Task Manager:Stop these processesdesktop.exe edmond.exe ffisearch.exe3.open registry start/run/regeditIf these keys are there delete and rebootHKEY_LOCAL_MACHINE\software\Microsoft\windows\currentversion\run\ffisHKEY_LOCAL_MACHINE\software\Microsoft\windows\currentversion\run\desktop search4. Open registry again and delete any of these keys if presentHKEY_CLASSES_ROOT\clsid\{5b4ab8e2-6dc5-477a-b637-bf3c1a2e5993}HKEY_CLASSES_ROOT\clsid\{950238fb-c706-4791-8674-4d429f85897e}HKEY_CLASSES_ROOT\mfiltis HKEY_LOCAL_MACHINE\software\Microsoft\windows\currentversion\policies\ext\clsid\{5b4ab8e2-6dc5-477a-b637-bf3c1a2e5993}HKEY_LOCAL_MACHINE\software\Microsoft\windows\currentversion\run\desktop searchHKEY_LOCAL_MACHINE\software\Microsoft\windows\currentversion\run\ffisHKEY_LOCAL_MACHINE\system\currentcontrolset\services\delprot5.Remove these files from windows if they're presentsystemroot+\isrvs\desktop.exe systemroot+\isrvs\edmond.exe systemroot+\isrvs\ffisearch.exe systemroot+\isrvs\isearch.xpi systemroot+\isrvs\mfiltis.dll systemroot+\isrvs\msdbhk.dll systemroot+\isrvs\sysupd.dll desktopdir+\virus hunter security.lnk desktopdir+\your platinum visa.lnk systemroot+\delprot.ini desktopdir+\big dick school for 2.95.URL desktopdir+\anal exploits.URL desktopdir+\evidence eraser.lnk desktopdir+\popup blocker stops popups.lnk desktopdir+\spyware avenger.lnk desktopdir+\virus hunter security.lnk desktopdir+\your platinum visa.lnk systemroot+\delprot.ini systemroot+\delprot.log delprot.sys5. Remove directory systemroot+\isrvs6.Reboot and it should be fineDO NOT EDIT YOUR REGISTRYUNLESS YOU KNOW WHAT YOU ARE DOING.Editing the registy can harm your computerYou can remove this Trojan horse by following these steps .


In what folder does Windows File Protection store an extra copy of system files?

By default files are stored in the following folder location: %systemroot%\system32\dllcache %systemroot% means wherever the Windows program files are stored. This is normally C:\Windows\System32\dllcache However it may vary from system to system and there may be several locations that look similar especially if multiple copies of Windows or XP or Vista have been installed. The easiest way to discover the current location is to: Open a command prompt box Type the following: CD %systemroot%\system32\dllcache The full path should be dispalyed to the left of the ">" Generally you should not mess with this folder! For more information look at http://support.microsoft.com/kb/222193


When a switch contains electricity what does it represent?

Usually a switch that is charged is an CLOSED CIRCUIT therefore is considered to represent 1 in binary.

Related questions

What does percent systemroot percent represent?

Percent signs surrounding a word represent an "environment variable". There are many command-line based applications and scripts that need to account for differences in file locations, system architecture, etc. SYSTEMROOT is such a variable, and is automatically maintained by Windows. It is commonly used in the Windows Registry to point to the correct location of items stored in the directory where Windows is stored, which defaults to C:\Windows\ (the system's root directory).


What does percent SystemRoot percent mean in XP Assume your C drive is both your boot and system partition?

If this is a sample test or homework question from a course you paid money for, you got ripped off. %SystemRoot% refers to the location of the system or "Windows" folder. It may be the C:\Windows directory, but it doesn't have to be (and you shouldn't assume that it is... the whole point of defining %SystemRoot% is so you don't have to guess where the system folder is).


What is the percent SystemRoot folder as used in Microsoft documentation?

Press WinKey+R then type %systemroot% to find out! It will likely be C:\Windows\ but if you're using multiple versions of Windows on the same computer, the others could be on different drive letters e.g. N:\Windows\


What does percent systemroot percent system32 mean?

It means the "system32" folder inside whatever the system folder of the currently running version of Windows is. It may be, in fact probably is (at least 90% of the time), C:\Windows\system32, but the point of using the %SystemRoot% specification is that even if you've somehow managed to install Windows in some nonstandard location, that will point to the correct directory.


Where is the game directory?

%SystemRoot%\system32


What does systemroot mean?

Hives are stored in\system32\configAll system files in thefolderthis can be state as the Folder in which windows 2000/XP is installed"Systemroot" or more commonly seen as "%Systemroot%" refers to the directory where Windows is installed. This is usually "C:\Windows"


What do the signs mean in DragonVale?

The signs are purely decorative, and they represent the various elements.


How do I force start the Smart Card Reader Service without receiving an Error 1068 The dependency service or group failed to start message?

Create two files in notepad, use the XP.cmd file if you are on Windows XP, use the 2K version if on Windows 2000. Use Save As to make the file a .cmd or .reg file as sown in the file names below. Run the two files and then reboot. Here are the files: File SCARD_XP.CMD: %systemroot%\system32\scardsvr.exe reinstall %systemroot%\system32\regsvr32.exe /s %systemroot%\system32\scardssp.dll %systemroot%\system32\regedt32.exe /s scard_xp.reg %systemroot%\system32\net.exe start scardsvr %systemroot%\system32\sc.exe config scardsvr start= auto File SCARD_2K.CMD: %systemroot%\system32\scardsvr.exe reinstall %systemroot%\system32\regsvr32.exe /s %systemroot%\system32\scardssp.dll %systemroot%\system32\net.exe start scardsvr %systemroot%\system32\sc.exe config scardsvr start= auto File SCARD_XP.REG: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\SCardSvr] "ObjectName"="NT AUTHORITY\\LocalService" [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\SCardDrv] "ObjectName"="NT AUTHORITY\\LocalService"


Which letters represent signs of the horoscope or tarot?

Signs of the Zodiac and Tarot have their own symbolism.


What symbols represent the signs of the zodiac?

The symbols representing the signs can be found at the site below.


Do both of these represent nine percent 9 percent or 09 percent?

yes


What are some signs that represent Holland?

what represents the Netherlands