@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
@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
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文件就不用Explorer /e,/root,D:\workspace\project
@ rem 打開資源管理器,并選中指定的文件
Explorer /e,/select,D:\workspace\project\index.jsp
去找了