Forum     

Go Back   Digit Technology Discussion Forum > Software > Software Q&A
Register FAQ Calendar Mark Forums Read

Software Q&A Having trouble with software? Find solutions here


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 29-05-2005, 10:06 AM   #1 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default Save two seconds - Speed Boot


I found that creating a script to run on shutdown that deletes the temp folder and history shaved 2.5 seconds on my boot time, down do 10.5 secs.

Create a batch file by doing the following:


1) Open notepad and enter the following lines:

RD /S /q "C:\Documents and Settings\"UserName without quotes"\Local Settings\History"
RD /S /q "C:\Documents and Settings\Default User\Local Settings\History"
RD /S /q "D:\Temp\" <--"Deletes temp folder, type in the location of your temp folder"



2) Save the fily and then rename is something like deltemp.bat



3) Now click Start, Run and type in gpedit.msc --->Computer Configuration --->Windows Settings --->Scripts and double click on Shutdown --->Click Add and find the batch file you created and press ok to set the script
expertno.1 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 29-05-2005, 10:11 AM   #2 (permalink)
In The Zone
 
Biplav's Avatar
 
Join Date: Jan 2005
Location: U REALLY WANNA KNOW???
Posts: 498
Default

dude gpedit.msc doesnt open from run in win xp home.
__________________
"Try again, fail again, fail better" - Samuel Beckett
Biplav is offline  
Old 29-05-2005, 10:23 AM   #3 (permalink)
dinesh_singh
Guest
 
Posts: n/a
Default

but it will open in xp pro
 
Old 29-05-2005, 11:51 AM   #4 (permalink)
QA Juggler
 
saROMan's Avatar
 
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
Default

well bud....i wonder..if u del these folders on shutdown...so all the garbage wll b deleted w it....BUT ..at bootup these folders wll b created..again...so wil it increse the bootup time OR decrese the boot time ???


also if u add

RD /S /q "C:\Documents and Settings\"UserName without quotes"\Local Settings\History\*"

so only the garbage files wll b deleted.....correct me if i am wrong.....
__________________
8-) सारोमान :!: :!: :!:
saROMan is offline  
Closed Thread

Bookmarks

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
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by abhidev
- by clmlbx
- by Sarath
- by ico

Advertisement




All times are GMT +5.5. The time now is 03:14 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2