Like all applications, Adobe Photoshop CS can shut down when you don't want it to. If the program crashes before you've saved, you may think you've lost all your work. Fortunately, you may still be able to recover your work. Photoshop stores the files it is working on in a temporary folder on your computer. You can probably recover your project, although it might require a little digging to do so.
Open "My Computer" from your desktop. Double-click your hard drive.
Open "Documents and Settings."
Open the folder labeled with your user name.
Open "Local Settings" followed by "Temp."
Scroll down to the files beginning with "Photoshop" ("PS" for older Photoshop CS builds). This will be followed by a series of letters and numbers.
Double-click each "Photoshop" ("PS") temp file to open them in Photoshop CS. This is the only way to identify which temp file contains the project you wish to recover. Luckily, because when Photoshop shuts properly it deletes its temp files, there should be no more than three or four.
Select "Save As" from the "File" menu when you find the temp file you want. This will make the file permanent.