DOS命令追加符的使用

@echo off

start \192.168.10.120常用软件系统工具远程客户端winvnc.exe     

  #打开共享的远程客户端程序

ipconfig /all > d:displayIP.txt   

#ipconfig /all 命令输出到D盘的displayIP.txt文本,追加符号>>表示不覆盖原来内容后面添加新内容,追加符号>表示新内容把原来内容覆盖

copy d:displayIP.txt \192.168.10.120ipaddress   

 #复制D盘displayIP.txt文本到共享192.168.10.120文件夹ipaddress内

del d:displayIP.txt    

#删除D盘displayIP.txt文本

原文地址:https://www.cnblogs.com/zoulongbin/p/6140919.html