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.120\ipaddress   

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

 

 

del d:\displayIP.txt    

#删除D盘displayIP.txt文本

 

posted @ 2016-12-07 13:51  邹龙彬  阅读(907)  评论(0编辑  收藏  举报