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)

link|improve this question

58% accept rate
@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
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

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;
link|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
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.