Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好只是想知道是否可以创建一个列出所有网络使用路径的 txt 文件
你可以做
net use > c:\netusepaths.txt
这将为您提供文本文件中的路径(只需选择您想要的文件名和位置)。
如果您只想要带有路径的行(而不是 net use 的整个输出),请尝试
net use | find "OK" > c:\netusepaths.txt
这是你需要的吗?
net use > c:\temp\test.txt