1. Software Requirement: 1.1.mirror.bat .mirror_SERVICE_BEGIN.mirror_SERVICE_END.robocopy.exe 1.2. Copy robocopy.exe to C:\WINDOWS\system32 2. System Region Option: setting "Date"--Short Date Format: yyyy-MM--dd 3.MAP Network Driver: net use z:
pscp -r d:\cc root@10.0.0.8:/root/test copy d:\cc content recursively into the /root/test, contains the cc directory pscp -r d:\cc\ root@10.0.0.8:/root/test copy d:\cc content recursively into the /root/test, does not contain the cc directory Linux之间
参考网址: http://docs.30c.org/dosbat/index.html 很多情况下,我们只需要记住一条命令 help ,就能掌握整个DOS命令.比如直接输入 help 可以得到命令的帮助信息. cd 跳转 dir 显示文件 md 产生文件夹 echo 写入文件 ren 重命名 del 移除文件 copy 复制文件
防火墙启用,增加禁用端口提供给外部访问 @echo off color E2 title 关闭常见的危险端口 echo 正在开启Windows防火墙 echo. netsh advfirewall set currentprofile state on > nul netsh advfirewall set publicprofile state on > nul netsh advfirewall set allprofile state on > nul netsh advfirew
https://blog.csdn.net/jigetage/article/details/81180757 RD 与 DEL 命令 windows bat 目录和文件的删除处理. 命令:RD,删除目录 增加参数:/S 参数说明:使用此参数即“RD/S”用于删除目录树,即删除目录及目录下的所有子目录和文件,相当于以前版本中的DELTREE命令. 增加参数:/Q XP中的增强DOS命令 参数说明:使用上面的/S参数删除目录树时,系统会要求 用户确认是否真的要删除.若同时使用/Q参数即“RD/S