1.去CVS目录
@echo On
@Rem 删除CVS版本控制目录
@for /r . %%a in (.) do @if exist "%%a\CVS" rd /s /q "%%a\CVS"
@rem for /r . %%a in (.) do @if exist "%%a\CVS" @echo "%%a\CVS"
@echo Mission Completed.
@pause 2.设置IP
echo off
netsh interface ip set address "本地连接" source = static addr = 192.168.0.3 mask=255.255.255.0
netsh interface ip set address "本地连接" gateway = 192.168.0.1 gwmetric =1
netsh interface ip set dns "本地连接" source = static addr = 192.168.0.1
netsh interface ip add dns "本地连接" addr = 192.168.0.1
pause 3.如果工程目录很深,用资源管理器感觉很不爽,在命令行输入以下命令,就会,清爽很多,还可以配置eclipse
@rem 以你指定的目录为根目录,打开资源管理器
Explorer /e,/root,D:\workspace\project
@ rem 打开资源管理器,并选中指定的文件
Explorer /e,/select,D:\workspace\project\index.jsp利用脚本的替代,在eclipse可以做到选中java文件,定位到class文件,更新class文件就不用
去找了