MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-02, 12:26
Ken3's Avatar
Ken3 Ken3 is offline
Major Geek
 
Join Date: Nov 2002
Location: Somewhere in Virginia...
Posts: 1,117
Thanks: 34
Thanked 62 Times in 49 Posts
Question Temporary files under W2K

When I was running Win95, I was pretty confident of deleting files under the \WINDOWS\TEMP folder. But since I'm really an end user at my workplace (maybe a novice at best) W2K is obviouslly really different when looking at the directory/folder structure. (I like to understand the computer/system I use).

Here goes.... Under the Local setting\temp folder of my username there are quite a few files accumulated here. Short of displaying contents here, is it safe to remove these files and subfolders permanently? Or is there a standard set that needs to remain?

Also, I see a WINNT/TEMP folder, same question applies.

On my previous computer (W95) I scheduled a batch file to delete the contents of the WINDOWS\TEMP at the end of my work day. I would like to do something similar on this new computer (W2K). As much as there is a boat load of temporary file cleaners out there, I would like to be more comfortable/confident/secure (take your pick) on removing temp files under W2K.

Thanks for any help.

Ken
Reply With Quote
Sponsored links
  #2  
Old 11-01-02, 13:20
Troy's Avatar
Troy Troy is offline
Private First Class
 
Join Date: May 2002
Location: In your mind
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Delete all files in both the folders without hesitation. But DO NOT DO it before rebooting when you have installed some program or device driver that asks you to reboot.
Reply With Quote
  #3  
Old 11-01-02, 16:51
MrPewty's Avatar
MrPewty MrPewty is offline
Major Geek
 
Join Date: Jul 2002
Location: Central Alberta
Posts: 1,435
Thanks: 15
Thanked 7 Times in 6 Posts
Default

How about XP home?

Are there any files i should be cleaning out? (I already clean the prefetch files)
Reply With Quote
  #4  
Old 11-01-02, 21:21
Troy's Avatar
Troy Troy is offline
Private First Class
 
Join Date: May 2002
Location: In your mind
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Do not delete the prefetch files. They help to start your programs faster. Only delete prefetch file when you have done a disk defragmentation. If you want to know why, I can explain.

You can empty the Temp folder, Recent folder and the Temporary Internet Files folder located under Documents And Settings/ User Name/Local Settings ( Hidden ).
Reply With Quote
  #5  
Old 11-03-02, 14:58
duhmez duhmez is offline
Private E-2
 
Join Date: Jan 2002
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Rebot, wait 1 minute, then delete away and there will be no problem.
Reply With Quote
Sponsored links
  #6  
Old 11-03-02, 23:52
MrPewty's Avatar
MrPewty MrPewty is offline
Major Geek
 
Join Date: Jul 2002
Location: Central Alberta
Posts: 1,435
Thanks: 15
Thanked 7 Times in 6 Posts
Default

Troy said:

Quote:
Do not delete the prefetch files. They help to start your programs faster. Only delete prefetch file when you have done a disk defragmentation. If you want to know why, I can explain.
I would appreciate the explanation Troy. I thought prefetch files just clogged up the system. I have been deleting them with a batch file every time I log in .

Thanks MrP
Reply With Quote
  #7  
Old 11-04-02, 06:15
HDL HDL is offline
Private E-2
 
Join Date: Jul 2002
Location: Rust Belt
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally posted by MrPewty
Troy said:



I would appreciate the explanation Troy. I thought prefetch files just clogged up the system. I have been deleting them with a batch file every time I log in .

Thanks MrP
MrP or Troy,

I'm not familiar with them. I looked up the definition but it didn't tell me what extension they use. Can you enlighten me?


Thanks.
__________________
HDL
Reply With Quote
  #8  
Old 11-04-02, 06:55
Ken3's Avatar
Ken3 Ken3 is offline
Major Geek
 
Join Date: Nov 2002
Location: Somewhere in Virginia...
Posts: 1,117
Thanks: 34
Thanked 62 Times in 49 Posts
Default

Troy,

Thanks for the info . I'll schedule the deletions sometime before I shut down the computer at the end of the work day.

Ken3
Reply With Quote
  #9  
Old 11-04-02, 07:15
Thunder's Avatar
Thunder Thunder is offline
Private First Class
 
Join Date: Feb 2002
Location: Ouachita Mountains
Posts: 70
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Interestingly, Windows XP has a feature unique to it (among other versions of Windows) which can also benefit from a periodic neatening-up. XP creates a system directory called the Prefetch folder and populates it with precached data that's used when you start the system. This is part of the reason boot times in XP are faster than Win2K -- it's getting data intelligently for the boot cycle based on previous boot cycles.
Get this:
http://www.majorgeeks.com/article.php?sid=2495&cat=17
__________________
AMD XP 2100 Tbred
Epox 8K3A+
NVIDIA GeForce 4 MX 440 64 DDR
2x Maxtor 20gig ATA133 @ Raid 0
1 Gig PC 2100
Windows XP Pro
Reply With Quote
  #10  
Old 11-04-02, 13:16
Troy's Avatar
Troy Troy is offline
Private First Class
 
Join Date: May 2002
Location: In your mind
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Mr. Pewty, check my words below:

Of everything you can do to optimize Windows XP, one of the simplest is just to use it. As you launch and exploit applications, Windows observes your behavior and updates a dynamic file called Layout.ini. After every three days, when it senses that the computer is idle, it rearranges the locations of programs on the system hard drive to optimize their launch and execution.

XP also speeds up and the boot process and optimizes the launch of programs by using prefetching. Windows observes the code and programs that are used immediately upon bootup and creates a list of data to prefetch very early in the boot process. Similarly, as individual programs are launched, Windows keeps track of different files and components are accessed. The next time the application is accessed, Windows prefetches the necessary items to expedite the application's launch.

The prefetch optimizing code exists both within the XP kernel and the task scheduler service. The kernel keeps track of pages that are referenced by a given process immediately after the process is created. The service transforms the recorded pages into prefetch instructions for that process. The next time the process is created, the kernel executes the prefetch instructions, speeding up the creation of the process.

Disk optimization and application/boot prefetching work in tandem. That is, when XP optimizes file system for faster program access, the data it recorded for the application and bootup prefetch processes is factored in to determine optimal file placement on the disks.

So you understand that an application uses a lot of files. By prefetching, WinXP creates its own comfortable and optimized routine to fetch the files as soon as possible.

But when you do a defragmentation, many files are moved to newer location. As a result the prefetch data does not remain valid anymore. Anyway, windows will find the locations again but this time it will be complicated. So when you defragment your hard drive, clean the prefetch folder so that windows builds its prefetch database from scratch.

Hope this helps. Happy to share the knowledge.
Reply With Quote
Sponsored links
  #11  
Old 11-04-02, 13:22
Troy's Avatar
Troy Troy is offline
Private First Class
 
Join Date: May 2002
Location: In your mind
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Default

As for the location and properties of the prefetch folder:

The prefetch files are located in you the "Prefetch" folder under your Windows directories.

The prefetch files have a .pf extension. Only one file is named "Layout.ini".
Reply With Quote
  #12  
Old 11-06-02, 22:57
MrPewty's Avatar
MrPewty MrPewty is offline
Major Geek
 
Join Date: Jul 2002
Location: Central Alberta
Posts: 1,435
Thanks: 15
Thanked 7 Times in 6 Posts
Default

Thank you for the info Troy. I will delete the prefetch files on defrag day only.

MrP
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
office 97 word saves files with only 1 character name. orangeclyde Software 3 02-01-06 10:20
TEMP file different from temporary files? ladee_katt Software 15 01-22-04 16:18
broken TCP?IP install - can't change net id in W2K cwr Hardware 6 01-02-04 17:13
How to access game videos/sound (FMV etc) files? Danny Software 1 12-31-03 18:54


All times are GMT -5. The time now is 17:30.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger