User Tools

Site Tools


Sidebar


wiki:windows:batch:make_dir_set

This is an old revision of the document!


A PCRE internal error occured. This might be caused by a faulty plugin

====== Make Set Predetermined Set of Directories ====== This batch file will create a predetermined set of directories/folders in the //working directory//. //Working Directory// is the directory in which it resides, or a directory that has been dragged and dropped onto the BAT file. <code> @echo off title Make Common Directories :start cls cd /d "%1" mkdir "%cd%\NewDirectory1" mkdir "%cd%\NewDirectory2" mkdir "%cd%\NewDirectory3" mkdir "%cd%\NewDirectory4" exit </code> //NewDirectory#// is whatever names you need the folders to be. My usage of this batch is to create folders to sort invoices into by who I need to email them to. I create the same set of four folders every week so I found a way to shorten this mundane task.

wiki/windows/batch/make_dir_set.1461337490.txt.gz · Last modified: 2016/04/22 15:04 by matt