Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Restoring Windows XP PATH variable

Upon installing Ruby and Instiki, my PATH got replaced completely with c:\ruby\bin.

Obviously, it never occured to me that any installer would do something like that, so I've no backup, nor any idea what was in the old one (but there was quite a bit in there).

Is there any way of restoring an old PATH variable?
(ideas given in similar question to this one, produced no results)

share|improve this question

marked as duplicate by soandos, Synetech, studiohack Aug 15 '11 at 1:12

This question was marked as an exact duplicate of an existing question.

@soandos, you’re right; that is probably their best bet since they had extra stuff and no backups. – Synetech Aug 15 '11 at 0:18
@soandos - Unfortunatelly, I had System Restore turned off ... (otherwise that would've been an answer). Btw, why, despite my note below is this question voted for closing? – Rook Aug 15 '11 at 0:38
@Rook, yes, this question is a duplicate of the other one. That question is not about using System Restore, it is about checking to see if the Registry happens to have a copy of the old PATH (which it usually will). Of course the faster you check, the better off you’ll be because it might be overwritten (and thus lost) at the boot. – Synetech Aug 15 '11 at 0:41

You can manually change it to the following default value (any customizations you made will have to be appended as well):

share|improve this answer
this doesnt answer his question. – Keltari Aug 15 '11 at 0:16
Not completely, no. However, soandos is right; there is another question that matches the OP’s problem. – Synetech Aug 15 '11 at 0:23

Not the answer you're looking for? Browse other questions tagged .