answersLogoWhite

0


Best Answer

You can typically append to an environment variable using a simple self-reference, but the exact syntax required depends on the operating system and "shell" in use.

For example, the console for Microsoft Windows operating systems supports this construct to append "XYZ" to the content of the (previously defined) PATH variable:

set PATH=%PATH%;XYZ

The %PATH% expression is being replaced with the content of that variable, and ;XYZ is appended. This example includes a semicolon, which is traditionally used to separate the elements of the search path definition (which is provided with the PATH environment variable).

Different operating systems and "shells" have different methods not only for defining this modification, but also for making the changes available to other programs (some systems require an explicit use of an export statement), or for making the changes permanent.

In Microsoft Windows operating systems, permanent changes to environment variables are best defined from the Systems property pages (see Advanced System Settings, Environment Variables).

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you append to your PATH and not lose the existing PATH settings?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

If the CMOS battery dies you can lose the settings in..?

If the CMOS battery dies you lose the settings that are held in the BIOS (Basic Input Output System). These include settings such as date/time, boot order,etc.


What will be lost if you reset your device to factory settings?

You will lose everything! Apps, contacts, music, and personal settings.


How do animals lose energy?

Animals lose energy simply by existing. The more strenuous the activity they are performing, the more energy they will lose.


What should you do if you lose the settings saved in cmos ram?

Nothing, the computer will run fine on the default settings usually.


Will you lose your computer settings when replacing the battery on a 2004 jeep liberty?

Yes.


Can you get a new mobile Sim card for free if you lose an existing one?

yes


Will the settings of my HTC Wildfire change if I remove the sim card?

The settings of your HTC Wildfire will not change when you remove the SIM card, but you may lose your contacts.


Why do the planets and their moons move around the sun but do not crush?

Their own gravity disables them to lose path in their orbit and makes their path steady.


Radio problems after changing the battery in a 1998 cirrus?

there is no problem you just lose all preset stations and any equalizer settings everything returns to default settings after a power loss you must reset all settings manually.


How do you get tsunade on Naruto path of the ninja 2?

you win or lose 20 wi fi battles


What point in Dante's life does he lose his way on the path of righteousness?

When he was being exiled out of Florence, Italy.


How do hurricanes lose energy?

They lose there energy when the Hurricanes reach land because the sea is there food and energy. when the hurricanes reach land it destroys thinks in its path and dies.