在Windows 7中,确定映射驱动器的IP,然后重新连接

时间:2020-09-22 10:59:57

标签: parsing windows-7 command-prompt windows-7-x64 network-drive

我知道我可以使用Windows 7显示映射的驱动器

c:\>net use

它显示

Status       Local     Remote                    Network
-------------------------------------------------------------------------------
OK           X:        \\192.168.168.100\c\Output
                                            Microsoft Windows Network
OK           Y:        \\192.168.168.100\c\Input
                                            Microsoft Windows Network

是否可以发现X(或Y)是否已连接到IP 192.168.168.100? 在这种情况下,请使用

net use X: /delete
net use Y: /delete

,然后使用(从192.168.168.100到192.168.168.101)将它们重新连接到相同的路径但使用不同的ip。

net use X: \\192.168.168.101\c\Output /user:user01
net use Y: \\192.168.168.101\c\Input  /user:user01

,反之亦然,如果它们已连接到192.168.168.101,请断开并重新连接 到192.168.168.100

有人可以帮我解析网络使用量输出吗?

1 个答案:

答案 0 :(得分:0)

不漂亮,但在我有限的测试中有效:

[Vue warn]: Property or method "date" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

found in

---> <NextMeetingCardComponent>
       <DashboardComponent> at src/views/DashboardComponent.vue
         <VMain>
           <VApp>
             <App> at src/App.vue
               <Root>

如果远程路径有空格,可能会出现问题...