You are here

Simple Batch File that could help you save on drive space.

8 posts / 0 new
Last post
nocr
nocr's picture
Offline
Last seen: 15 years 7 months ago
Joined: 2007-05-04 11:47
Simple Batch File that could help you save on drive space.

I figured that, for those who do not feel like manually disabling thumbnail caching on every computer they use, this, if set to autorun, might be of assistance.

Modified from www.gravityfx.org (They released it under the GPL)

@ECHO OFF
ECHO.
ECHO Press any key to delete all Thumbs.db files
ECHO.
ECHO.
ECHO.
pause
DEL /F /S /Q /A:H Thumbs.db

I hope people find this helpful.

Aciago
Aciago's picture
Offline
Last seen: 8 months 3 weeks ago
Joined: 2007-01-24 14:23
Thanks

It is useful... indeed

If a packet hits a pocket on a socket on a port,
and the bus is interrupted as a very last resort,
and the address of the memory makes your floppy disk abort,
then the socket packet pocket has an error to report Biggrin

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 1 week 6 days ago
Joined: 2006-11-18 10:26
mkay

Hmmm..interesting since I posted this last week on the Portable Apps development wiki. They plagiarized me obviously! Wink

http://cubegames.net/development/pre-deployment_checklist

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Stevoisiak
Stevoisiak's picture
Offline
Last seen: 4 years 10 months ago
Joined: 2008-02-05 11:22
Sooooo...

1. How does it increse drive space?
2. How do I use the script?

Simplifying daily life through technology

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 6 months ago
Developer
Joined: 2006-12-06 18:07
1. It deletes all thumbs.db

1. It deletes all thumbs.db files
2. Copy/paste into a text editor and save it as a .bat file

The developer formerly known as ZGitRDun8705

arqbrulo
arqbrulo's picture
Offline
Last seen: 4 years 4 months ago
Joined: 2006-08-10 16:38
@ Stevoisiak

1. It deletes all thumbs.db files
Each thumbs.db is aprox. 14kb, and they are created on every folder that has an image in it, when the image is shown as a thumbnail instead of an icon. 14kb's is not much, but I ran this script and deleted quite a few. on a 1gb drive, those 14kb's really do add up.

2. Copy/paste into a text editor and save it as a .bat file
a .bat file is just a .txt (text) file with a different extension. Like ZGitRDun8705 said, just copy/paste in notepad, do FILE=>SAVE AS and change the extension to .bat

"In three words I can sum up everything I've learned about life: it goes on." -- Robert Frost
"In three words I can sum up everything I've learned about life: baby ain't mine." -- Adam Holguin

Stevoisiak
Stevoisiak's picture
Offline
Last seen: 4 years 10 months ago
Joined: 2008-02-05 11:22
What are they

what is a thumbs.db file, and why are they created?

Simplifying daily life through technology

ZachHudock
ZachHudock's picture
Offline
Last seen: 1 year 6 months ago
Developer
Joined: 2006-12-06 18:07
it is a "database" of

it is a "database" of thumbnails of any image files that are contained in a directory.

The developer formerly known as ZGitRDun8705

Log in or register to post comments