I have made a very basic batch file with the code shown below.
(The actual structure is much more complex - I've shown only a simple portion for the sake of this question)
mkdir Client mkdir Comment mkdir Work cd Work mkdir Native mkdir PDF mkdir Review cd Review mkdir QC mkdir SIS cd SIS mkdir LEAD mkdir FSM
Which creates a tree structure shown below.
The problem is I have to copy the batch file to that respective location before I execute it to get the required structure.
What piece of code should I add, so that it will ask the user where this structure has to be created? (The reason why I don't want this to be copied to every other location, because in case, if there are any changes to be done in the structure, I will have to hunt down all these files and update them. It is better if it is in one location which makes updates easier)
My sample location or root looks like this with spaces and hyphens
\\Bh.me.ykgw.net\yeu-eng1\ENG\Current Projects\POFR02-NORTH RUMAILA INLET BOOSER COMPRESSION PROJECT (NR-IBCS)\C_Technical\C4_Design_Deliverables\C4.1.12.Bill of Materials\Work\IPS & FGS\08A\Client