Save following commands to a text file and save it as archive.bat : @echo offf echo 7za a -r -tzip %~nx1.zip -mx9 %~f1\*.* 7za a -r -tzip %~nx1.zip -mx9 %~f1\*.* rmdir /s/q %~f1 pause !!Caution, if you don’t have 7za installed it will only delete that folder!! Usage: Drop any directory to the batch file, […]
Environment variables are specially named aliases for basic system properties. Here is the Microsoft definition: Environment variables are strings that contain information such as drive, path, or file name. They control the behavior of various programs. For example, the TEMP environment variable specifies the location in which programs place temporary files. RapidEE could be useful […]
Everything is a tiny file search application, but it can handle loads of files. In this video tutorial I show you how to install and use Everything for Windows.
Python is an awesome language for science and automating your work. However, it can be a pain to download and configure all scientific packages in Windows. Here, WinPython solves this problem. It is portable and comes with various scientific packages those are ready to run! You can download WinPython here. Check out their documentation here. If […]
Following code moves all files in base directory to target directory including subfolders. This code uses robocopy which is included on windows7 and over systems by default. robocopy C:\Base\Directory\ D:\Target\Directory\ *.* /E /XD D:\Target\Directory\ /move references: http://ss64.com/nt/robocopy.html Windows batch command to move all folders in a directory with exceptions also see: How to copy files […]