Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subst drive & folder

Can I use windows command subst to map a drive & folder to another location?

I want to map say the temp folder

c:\foo\bar\temp

to

e:\buildserver\dev

I can easily map the temp directory to e: using

subst e: c:\foo\bar\temp

But how can I also add the path folding the drive \buildserver\dev

like image 866
ojhawkins Avatar asked Sep 09 '26 07:09

ojhawkins


1 Answers

You can create a directory junction like so:

mklink /J c:\foo\bar\temp\ e:\buildserver\dev\
like image 141
CyberDude Avatar answered Sep 12 '26 22:09

CyberDude