answersLogoWhite

0


Best Answer

In C? It's only: putenv ("PATH=<insert old value here>");

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How easily return PATH to its original value?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How could you easily return PATH to its original value after deleting it accidentally?

Assuming you know what the original path was, just retype at the command prompt: PATH=... whatever you had before ... Or: log out of your session and log back in again.


How could he easily return PATH to its original value?

Save the old value, before you change it! char *old_path = strdup (getenv ("PATH")); putenv ("PATH=/new/path"); ... sprintf (tmp, "PATH=%s", old_path); putenv (tmp); free (old_path);


When was The Path of Return Trilogy created?

The Path of Return Trilogy was created in 2009.


How many pages does The Path of Return Trilogy have?

The Path of Return Trilogy has 804 pages.


What is the ISBN of The Path of Return Trilogy?

The ISBN of The Path of Return Trilogy is 978-1-4575-0676-5.


What is negative boosters used in traction?

negative boosters are used in the return path of traction system It is to decrease the voltage of the return path and to ensure that the return path voltage is much closer to ground potential


What do you mean by short circuit?

When electricity flows through a path of less resistance instead of the original path where maybe a light bulb is part of the original path.


Open cycle for an internal combustion engine?

No return path for the working fluid to be used as before No return path for the working fluid to be used as before


What happens when you move a file. Is it deleted from the original location?

No, the file physically rests on the same place in your hard drive. What is changed is a value or a path thru which you can access it.


The return path for the battery on a car is called what?

The ground.


What is a neutral word?

neutral is a return path of supply .


How will you set a cookie in php?

The syntax is : setcookie(name, value, expire, path, domain); And then to return it: echo $_COOKIE["user"]; And a way to view all cookies is: print_r($_COOKIE);