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.
我想写一个脚本,它这样做:开始->运行->“smth”。如何将其写入 bat 文件以完成相同的任务。谢谢。
创建一个名为 sample.bat 的文件并制作其内容:
@echo off echo opening server location start "" \\192.168.2.1 pause
我认为您正在尝试使用资源管理器进行浏览,这Run可以,但批处理会尝试并执行。尝试将其放入批处理文件中:
Run
explorer \\server_address