Discussion:
Temp folder delete
(too old to reply)
Thomas Callaghan
2008-11-10 02:36:00 UTC
Permalink
I was doing some housekeeping and accidentally deleted the Temp Folder. Now
when I boot the Win 98SE computer I get the following DOS window, How can I
fix this stupid mistake? I simply don't know how to access a specific folder
in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
Jeff Richards
2008-11-10 06:15:25 UTC
Permalink
Are these lines appearing during the system boot? If so, I can't see how
deleting the TEMP folder would have caused those messages to appear. They
seem to be the last few lines of a batch file of some sort - perhaps a file
to clear out all the temporary IE files. Do Start | Run and enter MSConfig
and OK, and then look at AutoExec.BAT to see what might be running during
startup that could create these lines in the command window.

Or are they appearing as the last few lines left on a DOS screen that is all
you are getting when you try to start Windows? If so, try typing WIN and
see if Windows starts. Or EXIT and then WIN.
--
Jeff Richards
MS MVP (Windows - Shell/User)
Post by Thomas Callaghan
I was doing some housekeeping and accidentally deleted the Temp Folder. Now
when I boot the Win 98SE computer I get the following DOS window, How can I
fix this stupid mistake? I simply don't know how to access a specific folder
in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
Buffalo
2008-11-10 16:07:14 UTC
Permalink
Post by Jeff Richards
Are these lines appearing during the system boot? If so, I can't
see how deleting the TEMP folder would have caused those messages to
appear. They seem to be the last few lines of a batch file of some
sort - perhaps a file to clear out all the temporary IE files. Do
Start | Run and enter MSConfig and OK, and then look at AutoExec.BAT
to see what might be running during startup that could create these
lines in the command window.
Or are they appearing as the last few lines left on a DOS screen that
is all you are getting when you try to start Windows? If so, try
typing WIN and see if Windows starts. Or EXIT and then WIN.
Jeff, couldn't she just create another TEMP folder?
Perhaps you could tell her how and that would probably solve her problem.
Post by Jeff Richards
Post by Thomas Callaghan
I was doing some housekeeping and accidentally deleted the Temp
Folder. Now when I boot the Win 98SE computer I get the following
DOS window, How can I
fix this stupid mistake? I simply don't know how to access a specific folder
in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
Buffalo
2008-11-10 16:16:12 UTC
Permalink
Post by Buffalo
Jeff, couldn't she just create another TEMP folder?
Perhaps you could tell her how and that would probably solve her problem.
Would it be like putting the following line in the autoexec.bat :
SET Temp=C:\Windows\TEMP
SET Tmp=%TEMP%

Or can she just go into C:\Windows and add a folder called TEMP because
those lines may already be in the Autoexec.bat, and the batch file can't
find it because she deleted it?

[snip]
Thomas Callaghan
2008-11-10 22:08:39 UTC
Permalink
The MSDOS window with those 4 lines appear after Win 98 boot is complete. I
can close the DOS window and everything is normal. I'd just like to fix what
I
screwed up. Which DIR would I look (C:\>Windows or C:\>) to find these
files?
If "Find:" isn't the proper DOS term for locating a file in DOS could you
tell
me what is? Thanks
Post by Jeff Richards
Are these lines appearing during the system boot? If so, I can't see how
deleting the TEMP folder would have caused those messages to appear. They
seem to be the last few lines of a batch file of some sort - perhaps a file
to clear out all the temporary IE files. Do Start | Run and enter MSConfig
and OK, and then look at AutoExec.BAT to see what might be running during
startup that could create these lines in the command window.
Or are they appearing as the last few lines left on a DOS screen that is all
you are getting when you try to start Windows? If so, try typing WIN and
see if Windows starts. Or EXIT and then WIN.
--
Jeff Richards
MS MVP (Windows - Shell/User)
Post by Thomas Callaghan
I was doing some housekeeping and accidentally deleted the Temp Folder. Now
when I boot the Win 98SE computer I get the following DOS window, How
can
Post by Jeff Richards
Post by Thomas Callaghan
I
fix this stupid mistake? I simply don't know how to access a specific folder
in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
Jeff Richards
2008-11-11 02:53:44 UTC
Permalink
I don't think you screwed anything up, and there might not be anything to
fix.

The lines that are executed during startup are displayed to the screen, but
very often the startup procedure doesn't pause long enough for them to be
noticed. I can't work out what these lines might be doing, but I don't
think it's associated with a problem with the temp folder. It's probably
just that some change in the startup procedure means that they are now
visible, whereas previously they were hidden.

You can check your current configuration. Not that it's unlikely that these
changes will be needed, as there's no indication that you have altered
anything that affects startup.

Do Start / Run and enter MSConfig and choose OK. There should be a line in
autoexec such as
Set Temp=C:\Windows\Temp

Many systems will also have
Set Tmp=C:\Windows\Temp

since some programmers get confused between Temp and Tmp. If it's not there,
there's no harm in adding it (New button). Save the changes and exit. Exit
the command window.

Then, from within Explorer, look for the folder C:\Windows\Temp. If it's
not there, create it.

You don't need to look for any files in DOS. You just need to check that the
Temp folder is still there.

Unless, of course, you are having other problems which indicate that startup
isn't completing correctly.

Or, perhaps you are referring to something you changed in the Temporary
Internet Folders settings. These are fixed from within Internet Explorer at
the Tools / Internet Options / Temporary Internet files / Settings dialog.
--
Jeff Richards
MS MVP (Windows - Shell/User)
Post by Thomas Callaghan
The MSDOS window with those 4 lines appear after Win 98 boot is complete. I
can close the DOS window and everything is normal. I'd just like to fix what
I
screwed up. Which DIR would I look (C:\>Windows or C:\>) to find these
files?
If "Find:" isn't the proper DOS term for locating a file in DOS could you
tell
me what is? Thanks
MEB
2008-11-11 08:27:31 UTC
Permalink
"Jeff Richards" <***@msn.com.au> wrote in message news:***@TK2MSFTNGP02.phx.gbl...
| I don't think you screwed anything up, and there might not be anything to
| fix.
|
| The lines that are executed during startup are displayed to the screen,
but
| very often the startup procedure doesn't pause long enough for them to be
| noticed. I can't work out what these lines might be doing, but I don't
| think it's associated with a problem with the temp folder. It's probably
| just that some change in the startup procedure means that they are now
| visible, whereas previously they were hidden.
|
| You can check your current configuration. Not that it's unlikely that
these
| changes will be needed, as there's no indication that you have altered
| anything that affects startup.
|
| Do Start / Run and enter MSConfig and choose OK. There should be a line
in
| autoexec such as
| Set Temp=C:\Windows\Temp
|
| Many systems will also have
| Set Tmp=C:\Windows\Temp
|
| since some programmers get confused between Temp and Tmp. If it's not
there,
| there's no harm in adding it (New button). Save the changes and exit.
Exit
| the command window.
|
| Then, from within Explorer, look for the folder C:\Windows\Temp. If it's
| not there, create it.
|
| You don't need to look for any files in DOS. You just need to check that
the
| Temp folder is still there.
|
| Unless, of course, you are having other problems which indicate that
startup
| isn't completing correctly.
|
| Or, perhaps you are referring to something you changed in the Temporary
| Internet Folders settings. These are fixed from within Internet Explorer
at
| the Tools / Internet Options / Temporary Internet files / Settings dialog.
| --
| Jeff Richards
| MS MVP (Windows - Shell/User)
| "Thomas Callaghan" <***@pghmail.com> wrote in message
| news:Ov-***@pghconnect.com...

This can be added as the first line, if not found in the autoexec.bat, to
suppress most of the output when it runs:

@ECHO OFF

Might want to check if there is an autoexec.bak or other [like .dos] saved
file for comparison
--
MEB
http://peoplescounsel.org
a Peoples' counsel
_ _
~~
thecreator
2008-11-15 18:15:54 UTC
Permalink
Hi Thomas,

If you delete the \Temp folder, then just create a new Folder, then
simply rename New Folder to Temp. You want to use Explore and go to \Windows
there create the New Folder, a sub-folder of \Windows. So when you are
finished, it looks like C:\Windows\Temp.

And what you previously described, you also deleted \Temporary Internet
Files folder, which is a sub-folder of \Windows\. You need to recreate that
folder and go into Internet Explorer 6 Options point its Temporary Internet
Files location to that location.
--
thecreator
Post by Thomas Callaghan
The MSDOS window with those 4 lines appear after Win 98 boot is complete. I
can close the DOS window and everything is normal. I'd just like to fix what
I
screwed up. Which DIR would I look (C:\>Windows or C:\>) to find these
files?
If "Find:" isn't the proper DOS term for locating a file in DOS could you
tell
me what is? Thanks
Post by Jeff Richards
Are these lines appearing during the system boot? If so, I can't see how
deleting the TEMP folder would have caused those messages to appear.
They
seem to be the last few lines of a batch file of some sort - perhaps a
file
Post by Jeff Richards
to clear out all the temporary IE files. Do Start | Run and enter
MSConfig
Post by Jeff Richards
and OK, and then look at AutoExec.BAT to see what might be running during
startup that could create these lines in the command window.
Or are they appearing as the last few lines left on a DOS screen that is
all
Post by Jeff Richards
you are getting when you try to start Windows? If so, try typing WIN and
see if Windows starts. Or EXIT and then WIN.
--
Jeff Richards
MS MVP (Windows - Shell/User)
Post by Thomas Callaghan
I was doing some housekeeping and accidentally deleted the Temp Folder.
Now
Post by Jeff Richards
Post by Thomas Callaghan
when I boot the Win 98SE computer I get the following DOS window, How
can
Post by Jeff Richards
Post by Thomas Callaghan
I
fix this stupid mistake? I simply don't know how to access a specific folder
in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
Buffalo
2008-11-10 17:42:59 UTC
Permalink
Post by Thomas Callaghan
I was doing some housekeeping and accidentally deleted the Temp
Folder. Now when I boot the Win 98SE computer I get the following DOS
window, How can I fix this stupid mistake? I simply don't know how to
access a specific folder in a DOS window
C:\>WINDOWS\COOKIES\INDEX.DAT
C:\>WINDOWS\HISTORY\HISTORY.IE5\INDEX.DAT
C:\>WINDOWS\TEMPOR~1\CONTENT.E5\INDEX.DAT
C:\>EXIT
If you are stuck in DOS, you can , at the C:\ prompt, type md
C:\windows\temp (there is a space between md and C:\ )and press the
Enter button.
This should recreate the temp folder in C:\Windows.
Then reboot and see if it now works.
Loading...