charlespetchsy / make-subdirs

A Windows batch script that simply creates a number of sub-directories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Creating a folder with multiple sub-directories

The user will be prompted on command (cmd) with the:

  1. Number of folders needed
  2. Folder label prefix

Note: The batch script generates the folders in the same directory as the program.
The current structure when generating folders:

C:\USERS\USR\CURRENT_DIRECTORY\DATETIME
    ├───foobar-1
    ├───foobar-2
    ├───foobar-3
    ├───foobar-4
    ├───foobar-5
    ├───foobar-6
    ├───foobar-7
    ├───foobar-8
    ├───foobar-9
    └───foobar-10

The output shown above is produced by entering 10 folders with foobar as the prefix.

About

A Windows batch script that simply creates a number of sub-directories.


Languages

Language:Batchfile 100.0%