![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
It creates files for applications as you run them, not before. Startups for every application you use will be slower first time. If you think it's worth it, by all means do it, but it's by no means something that needs to be done so often as to have a script written for it.
|
|
|
|
|
|
#12 | |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 364
Rep Power: 0
![]() |
Quote:
__________________
I am Addicted to Linux! |
|
|
|
|
|
|
#13 |
|
Programmer
Join Date: Oct 2005
Posts: 52
Rep Power: 3
![]() |
I agree with you both in that deleting it will serve no purpose for performance or disk space gain....however the program which i am writing it for like i said is a bigger app that when done will hopefull be standardized to all intro techs. Right now when a customer brings their computer in for what we deam a "tune up" standard policy is cleaning out the prefetch folder. so while i agree with you it serves no purpose....it's easier to have intro techs running a standarized program and following procedure then everyone doing their own thing. Does that make more sense though?
personally i don't agree with nuking the whole prefetcher but i can't fight the system. |
|
|
|
|
|
#14 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 8
![]() |
In that case, I wouldn't use the batch file method - using external applications is never a good idea when it's just as easy to do it yourself.
This code may work - I haven't tested it: Dim PrefetchDir as DirectoryInfo = New DirectoryInfo("%WINDIR%\Prefetch")
Dim files() as FileInfo = PrefetchDir.GetFiles()
Foreach file In files
file.Delete()
End Foreach |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| EXECryptor software protection | Jean5 | C++ | 35 | Oct 10th, 2006 7:10 PM |
| Little help | whoawhoayoyo | Assembly | 8 | Apr 18th, 2006 7:10 PM |
| How to post a question | nnxion | C++ | 10 | Jun 3rd, 2005 11:53 AM |
| How to post a question | nnxion | C++ | 0 | Jun 3rd, 2005 8:55 AM |
| How to post a question | nnxion | C | 0 | Jun 3rd, 2005 8:55 AM |