I need a batch file command which will select user's directory path (user input) and it should create a directory which is quoted by me.
For example, if the user select the path "C:\New folder", then the batch file should create "C:New folder\Folder1\Folder2". The path "Folder1\Folder2" is my directory and it should create along with the user's path "C:New folder" by such as mkdir "Folder1\Folder2". This is for copying some files to that folder.
(QUESTION UPDATED) My code so far :
@echo off
set /p var=Enter destination folder:
mkdir "MyFolder\Folder1" %var%
xcopy file.exe "MyFolder\Folder1" %var%
But, it doesnt work anymore. It will create "MyFolder\Folder1" on the current directory only. But, the structure is exactly this is. The path "Myfolder\Folder1" should create along with the user's path. What should i do..? :(