BetaArchive Logo
Navigation Home Screenshots Image Uploader Server Info FTP Servers Wiki Forum RSS Feed Rules Please Donate
UP: 24d, 0h, 4m | CPU: 12% | MEM: 5642MB of 11341MB used
{The community for beta collectors}

Forum rules


Any off topic discussions should go in this forum. Post count is not increased by posting here.
FTP Access status is required to post in this forum. Find out how to get it


Post new topic Reply to topic  [ 6 posts ] 
Author Message
 PostPost subject: Desktop.ini remover batch file?        Posted: Tue Jun 09, 2009 3:02 am 
Reply with quote
Staff
User avatar
Offline

Joined
Thu Oct 23, 2008 3:25 am

Posts
2688

Location
Earth.

Favourite OS
Real Life
I know that there is some batch file out there that removes all files that are .tmp and stuff, but I was wondering if someone could create something that would go through and could delete extra Desktop.ini files (like what happens when you copy a folder a few times, they seem to pile up pretty badly).
Anyone know the proper coding?

_________________
Visit my BLOG!
Wanna play a fun browser based game that plays while you're away? Click here.


Top  Profile  WWW  YIM
 PostPost subject: Re: Desktop.ini remover batch file?        Posted: Tue Jun 09, 2009 9:25 am 
Reply with quote
FTP Access
Offline

Joined
Sun Dec 31, 2006 4:34 pm

Posts
148
Code:
del /f /s /q %systemdrive%\desktop.ini



Code:
C:\Users\Administrator>del /f /s /q %systemdrive%\desktop.ini
Deleted file - C:\Program Files\Common Files\microsoft shared\Web Server Extensi
ons\12\BIN\DESKTOP.INI
Deleted file - C:\Program Files\Microsoft Office\Office12\1033\DataServices\DESK
TOP.INI
Deleted file - C:\Windows\Fonts\desktop.ini
...
...


Top  Profile
 PostPost subject: Re: Desktop.ini remover batch file?        Posted: Tue Jun 09, 2009 1:28 pm 
Reply with quote
Donator
User avatar
Offline

Joined
Sat May 12, 2007 1:05 pm

Posts
5271

Location
The Collection Book

Favourite OS
Windows & Phone
Be sure which desktop.ini file you remove.

(If you like the icons in you're personal folder, don't delete them).

_________________
Image
http://www.thecollectionbook.info
Subscribe to our Image for updates and like us on Image.

Reading Mode only, PM's possible.


Top  Profile  WWW
 PostPost subject: Re: Desktop.ini remover batch file?        Posted: Tue Jun 09, 2009 2:20 pm 
Reply with quote
Staff
User avatar
Offline

Joined
Thu Oct 23, 2008 3:25 am

Posts
2688

Location
Earth.

Favourite OS
Real Life
Thanks for all the help, I was actually planning on tweaking this code just _slightly_ so that instead of deleting Desktop.ini, it would delete desktop (2).ini and desktop (3).ini files that are created when you copy larger folders between 2 Windows 7 PC systems.

_________________
Visit my BLOG!
Wanna play a fun browser based game that plays while you're away? Click here.


Top  Profile  WWW  YIM
 PostPost subject: Re: Desktop.ini remover batch file?        Posted: Tue Jun 09, 2009 11:33 pm 
Reply with quote
FTP Access
Offline

Joined
Thu Aug 24, 2006 6:28 pm

Posts
352
Code:
del /f /s /q %systemdrive%\desktop*.ini


Top  Profile
 PostPost subject: Re: Desktop.ini remover batch file?        Posted: Sun Mar 21, 2010 5:58 pm 
Reply with quote
Offline

Joined
Sun Mar 21, 2010 5:30 pm

Posts
9

Favourite OS
Windows 7 Build 7600.13685
thanks this is very useful to me :)


Top  Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  

All views expressed in these forums are those of the author and do not necessarily represent the views of the BetaArchive site owner.

Powered by phpBB® Forum Software © phpBB Group

Copyright © 2006-2018

 

Sitemap | XML | RSS