Executing Subst command in PowerShell

4.3k Views Asked by At

Would anybody help in executing Subst command in PowerShell; so that it reflects the virtual drive in Windows Explorer!

Thanks in anticipation.

1

There are 1 best solutions below

5
Ansgar Wiechers On

This should work:

Invoke-Expression "subst Z: C:\some\folder"