Batch File – Cleaning Desktop

While I am focusing on time-management and productivity, I wanted to share something I personally do. It is important, when able to convert manual tasks into auto-processing. This article shows how I created and use a batch file to automatically clean my desktop.

By definition, “A batch file is a script file in DOS, OS/2 and Microsoft Windows. It consists of a series of commands to be executed by the command-line interpreter, stored in a plain text file.” 

I create small simple batch files to auto-process where I can. These help with speed and efficiency.

One of the batch files I created, takes specific files and moves them over to a structured folder hierarchy. This keeps my ever-cluttering desktop clear of unwanted files. This also sorts my files to a more structured organized location. This allows me to quickly go and search for those specific files.

The Batch File Video

The above video is on my YouTube channel. I ask you to Subscribe to my YouTube channel there for more content.

The Batch File Script

REM — Batch File created to push files to specific folders
REM — Clean up Desktop REM — Created 11.27.20 via Matt Cole
REM —————————————————————–

@echo on

REM — Moves Excel Files
copy “C:\Users\colem\Desktop\*.xlsx” “C:\MattCole\A_Files\Excel\*.xlsx” copy “C:\Users\colem\Desktop\*.xls” “C:\MattCole\A_Files\Excel\*.xls”
copy “C:\Users\colem\Desktop\*.csv” “C:\MattCole\A_Files\Excel\*.csv”
del *.xlsx
del *.xls
del *.csv

REM — Moves Word Files
copy “C:\Users\colem\Desktop\*.docx” “C:\MattCole\A_Files\Word\*.docx” copy “C:\Users\colem\Desktop\*.doc” “C:\MattCole\A_Files\Word\*.doc” copy “C:\Users\colem\Desktop\*.rtf” “C:\MattCole\A_Files\Word\*.rtf”
del *.rtf

You can take this script and modify it to your needs. Also, you can join me over on my Instagram channel. I post instructional and inspirational content.

Matt Cole has high regard for knowledge share. He has a desire to share critical thinking and information. With a Masters in Information Technology and a wide array of certifications, while not working full-time, he wishes to knowledge share through providing insight, information organization, and critical thinking skills.

#KnowledgeShare | Matt Cole | #infobyMattCole

Similar Posts