Cleaning up desktop clutter the batch file way

As many of you may know I love batch files LOL Well I thought many people have an abundance of desktop clutter. The qustion is how to cut through the clutter and move only certain types of files to other locations and do it without installing any software? Well after a few hours I have solved the problem, using nothing else but a batch file. Before you ask, a batch file is a plain text file that allows you to run DOS style commands without having to type out commands multiple times. The following batch file will move any files with the .jpg, .jpeg, and .png file extensions to a folder called “Pic temp” in the folder “wow temp64″ on your desktop in Vista. Read the rest of this article »

Tags: , , , , , ,

Writing a self deleting batch file

Some people laugh at me when I tell them I love to write batch files.Thinking

Today i found myself in kinda a pickle, I wanted to write a batch file that would delete itself as well as any files in the directory it was located in. So I turned to my good friend Google, not too much luck… Lucky I can usually figure this stuff out. Here’s what worked for me…

The solution:
@echo off
cls
del. /q

the del. deletes everything in the working directory and /q switch makes it so you don’t have to confirm every file delete (quite mode).

I hope this info was helpful!

Tags: ,

1