I have the following directory structure:
I've created the StartAll.bat script in order to open a CMD window in each folder:
start cmd.exe /k cd Folder1 & set prompt=Folder1: start cmd.exe /k cd Folder2 & set prompt=Folder2: start cmd.exe /k cd Folder3 & set prompt=Folder3: start cmd.exe /k cd Folder4 & set prompt=Folder4: However, I'm experiencing a very weird behavior when running it:
- The 1st window shows the entire path to
Folder1 - The 2nd window shows
Folder1: - The 3rd window shows
Folder2: - The 4th window shows
Folder3:
As you can see, a proper window for the last folder is missing.
I'm observing the exact same behavior regardless of the number of folders.
Any idea what is going on here?
I would also appreciate alternative suggestions for achieving this purpose.
For all it matters, I am running this on Windows 10.
Thank you for your help.

