New-Item -ItemType SymbolicLink -Path "Link" -Target "Target"
How to assign wwwroot\files\pics to d:\pics
Linux has symlink. Visual Studio has Add as Link. Is there a way that I can assign a directory to a level under wwwroot?
I tried a virtual directory but that didn't work as expected. It appears to be a top level item only.
1 additional answer
Sort by: Most helpful
-
Sam Wu-MSFT 7,036 Reputation points Microsoft Vendor
2021-10-28T03:03:46.793+00:00 How to assign wwwroot\files\pics to d:\pics
Is there a way that I can assign a directory to a level under wwwroot?According to your description, I couldn’t understand your requirement clearly, your title is to assign a directory under wwwroot to d:\pics, but in your content you want to assign a directory to wwwroot. what exactly are your needs? please post more details information about your requirement.