4

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)

Rook
  • 23,617
  • 32
  • 128
  • 213
  • @soandos, you’re right; that is probably their best bet since they had extra stuff and no backups. – Synetech Aug 15 '11 at 00: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 00: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 00:41

1 Answers1

0

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;
Synetech
  • 68,243
  • 36
  • 223
  • 356