Search found 2 matches

by abacabb
08 Feb 2011 07:37
Forum: DOS Batch Forum
Topic: How to create a folder based on user input?
Replies: 3
Views: 6182

Re: How to create a folder based on user input?

First half of your question: Use SET /P for input and MD for creating a folder. @echo off &setlocal set /p "folder=Enter the folder name to be created: " md "%folder%" ||(pause &goto :eof) Concerning the second half of your question: I'm not sure what you're looking for....
by abacabb
07 Feb 2011 15:45
Forum: DOS Batch Forum
Topic: How to create a folder based on user input?
Replies: 3
Views: 6182

How to create a folder based on user input?

I need to write a script that creates folders based on what a user wants. For instance, I want them to be able to execute the batch file, and be prompted to enter the name of the folder to be created. Once a name is entered, the user hits ok and the folder structure is created. Also, if possible, I ...