I have a question in Powershell.exe or ISE in PowerShell 5.0.
First of all, the behavior below will be as expected.
start\\\machine\dir1\dir2\dir3
start\\\machine\dir1\dir2
ls\\\machine\dir1\dir2\dir3
However, the following error occurs.
cd\\\machine\dir1\dir2\dir3
How can I chdir to dir3?
(This is Windows 7 pro)
From Comments
Yes, that's possible. At the command prompt, pushd\machine\dir1\dir2
Connect to the Z drive as , where you can start powerhell and it will work.
Then I thought of it and put a symbolic link (mklink) to dir2 in my home directory and cd
"$env:USERPROFILE\dir2".
I'm not sure about the details, but it may be the same as connecting a drive (subst) or attaching a symbolic link.
Thank you very much。 – Departee
As it has not been verified, it is possible, but once you can set it to the network drive, it might be possible.
© 2024 OneMinuteCode. All rights reserved.