Batch File – Cleaning the Desktop
I provide how I created a Windows Batch File to automate moving files form my desktop to specific folders.
I provide how I created a Windows Batch File to automate moving files form my desktop to specific folders.
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…
In order to check the files and file sizes, we can use the os.path module. Above is the actual code to check the immediate folder (location you put the Python code in. Let’s break this down The first two lines import the OS and Join modules. This code line does the walkthrough, identifying the directories,…