Hello!
I'm interested in creating a batch file that will mklink the same directory to multiple exit directories, but it's tedious to type out the separate folder names. Is there a way to reference a list of names for the folders instead?
For example:
The tedious method-
mklink /j "B:\apple" "C:\test"
mklink /j "B:\orange" "C:\test"
mklink /j "B:\banana" "C:\test"
Is there a way to simplify this down to something like:
mklink /j "B:\foldername" "C:\test"
Then foldername will automatically be replaced by possible folder names from a list?
I'm interested in creating a batch file that will mklink the same directory to multiple exit directories, but it's tedious to type out the separate folder names. Is there a way to reference a list of names for the folders instead?
For example:
The tedious method-
mklink /j "B:\apple" "C:\test"
mklink /j "B:\orange" "C:\test"
mklink /j "B:\banana" "C:\test"
Is there a way to simplify this down to something like:
mklink /j "B:\foldername" "C:\test"
Then foldername will automatically be replaced by possible folder names from a list?