Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

windows 8 system restore not working

 
Randall Twede
Ranch Hand
Posts: 4371
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
argggg!!
i tried to install Tomcat and when i tried adding to my PATH variable it overwrote it instead. now i have no path. system restore fails to complete. the restore date is two days ago and i just made the change today. it suggests i run chkdisk but this is a new computer and i really doubt the drive is corrupt. i don't know what to do
 
Rajat K Gupta
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Don't play with your computer. It's not a big deal if you are overwritten your path variable. I know some of your applications might stop working but still I believe you can survive with that system.
I don't trust windows restore activity so better thing is to go for some 3rd party software which can take system/drive backup regularly and provides you a fair chance to restore your computer.
For example:- I do use Norton Ghost.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64713
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That was not helpful. The PATH variable is needed to set the paths along which many programs will be found for execution. Just living without out is not an option.

Sorry I cannot help with Windows restore, I hope someone else can.

But when you get top the point of "installing" Tomcat again, don;t use the installer. That's for production systems. You should simply unzip the archive.



 
Randall Twede
Ranch Hand
Posts: 4371
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hehe just unzipping the archive is what got me into this. from what have read since, they have a windows service version that has an installer. anyway the computer still "works" but i can't compile anything anymore since i have no PATH. damn windows anyway when they have a button that says edit it should edit not overwrite. i almost got caught by this when i had to set the path for the JDK but i noticed it in time that time.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to make sure - are we talking about the System Properties - Advanced (tab) - Environment Variables form?

I haven't used System Restore much, so I can't help with that. I got used not to rely on System Restore at all.

What version of Windows do you use? If you're on Windows 7, I might help restore the basic path - on my Windows 7, there is this segment of directories in my path:

C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0\

I believe these are the basic directories included after clean Windows install. If you put in this, Windows as such should work. You undoubtedly had other programs installed and they might have problems if their directories are not on the path, but this could be solved on a case-by-case basis. One such case would be .NET framework (C:\Windows\Microsoft.NET\Framework\v4.0.30319 is also on my path).

If you have Windows installed in another directory than C:\WINDOWS (somewhat improbable nowadays), change the path accordingly.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Randall Twede wrote:hehe just unzipping the archive is what got me into this. from what have read since, they have a windows service version that has an installer. anyway the computer still "works" but i can't compile anything anymore since i have no PATH.

Hm, this doesn't sound like an issue with the system (environment) variable "Path" - If you haven't mentioned it explicitly earlier, I'd guess it to be a classpath issue.

Can you - just for sure - let us know how did you (in which programs/forms) overwrite the path variable?
 
Randall Twede
Ranch Hand
Posts: 4371
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just to make sure - are we talking about the System Properties - Advanced (tab) - Environment Variables form?

exactly.
i have windows 8 and it probably had a few toshiba things in the path as well.
i only added to it once when i installed the JDK. if i could get back to what it first came with i would be ok.
 
Randall Twede
Ranch Hand
Posts: 4371
3
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i kind of panicked when it happened, but it will be ok. for now i will just set the path to the jdk and tomcat. maybe later on i can get the rest of it
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic