Windows "net use" command [2]
Windows "net use" command
Wednesday, May 20, 2015 12:46 PM - Shuai
Hi,
Just tried to run "net use" inside xshell to show my shared drive links. But got output as following.
[C:\Users\Downloads]$ net use
New connections will not be remembered.
There are no entries in the list.
However if I run the same command in windows CMD, I got
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\test>net use
New connections will not be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK I: \\test-san\it Microsoft Windows Network
OK S: \\test-san\shared Microsoft Windows Network
OK U: \\test-san\users\test Microsoft Windows Network
Disconnected \\172.16.91.120\c$ Microsoft Windows Network
Disconnected \\172.16.91.12\c$ Microsoft Windows Network
The command completed successfully.
So there is still some limitation utilizing the windows built in commands in Xshell v5?
Program Ver. : Xshell 5
Just tried to run "net use" inside xshell to show my shared drive links. But got output as following.
[C:\Users\Downloads]$ net use
New connections will not be remembered.
There are no entries in the list.
However if I run the same command in windows CMD, I got
Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.
C:\Users\test>net use
New connections will not be remembered.
Status Local Remote Network
-------------------------------------------------------------------------------
OK I: \\test-san\it Microsoft Windows Network
OK S: \\test-san\shared Microsoft Windows Network
OK U: \\test-san\users\test Microsoft Windows Network
Disconnected \\172.16.91.120\c$ Microsoft Windows Network
Disconnected \\172.16.91.12\c$ Microsoft Windows Network
The command completed successfully.
So there is still some limitation utilizing the windows built in commands in Xshell v5?
Program Ver. : Xshell 5
Re: Windows "net use" command
Tuesday, May 26, 2015 9:03 AM - Andrew
I am not sure why this error occurs only on Xshell but it looks like the returned result of net use on Xshell is what you got on the screen. "There are no entries in the list." this message indicates there no entries on the list which is not a error case.
Re: Windows "net use" command
Thursday, June 4, 2015 4:42 PM - Shuai
Totally agree with you if there is no windows mapping exits. But running the same command in windows CMD gives me the correct output.
Previous views: 229