Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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

1 Answer 1

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

%systemroot%\System32;%systemroot%;%systemroot%\System32\Wbem;
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 or ask your own question.