文件操作
copy 復(fù)制
move 剪切/移動(dòng)/重命名
del 刪除
net命令
net user 顯示此計(jì)算機(jī)下的所有賬戶
net user account passwd /add 增加賬戶
net user account /delete 刪除賬戶
net user account newpasswd 修改密碼
net user account /active:yes 激活account賬戶
net user account /active:no 取消account賬戶
net user account /expires:08/03/2017 設(shè)置賬戶到期時(shí)間
net localgroup 查看本地組
net localgroup users account /del 把a(bǔ)ccount賬戶從users組中刪除
net localgroup users account /add 把a(bǔ)ccount賬戶添加到users組
net localgroup administrators account 把a(bǔ)ccount賬戶添加到administrators組中
net stop/start service 把某個(gè)service服務(wù)停止或者啟動(dòng)
net use x: \\192.168.0.104\d$ #把某臺(tái)電腦的d盤映射到本地電腦的x盤, x為本地先前沒有的盤符,需要輸入密碼賬號(hào)
net use \\192.168.0.104\ipc$ /del #斷開連接,也可以右鍵磁盤"斷開鏈接"
ipconfig
ipconfig /all 顯示詳細(xì)信息
ipconfig /renew 更新適配器的 IPV4 地址
ipconfig /renew6 更新適配器的 IPV6 地址
ipconfig /flushdns 清除 DNS 解析緩存
ipconfig /displaydns 顯示 dns 解析程序緩存的內(nèi)容
sc命令
sc start service 啟動(dòng)服務(wù)
sc stop service 停止服務(wù)
sc delete service 從注冊(cè)表中刪除服務(wù)
其他網(wǎng)絡(luò)測(cè)試命令
netstat -aon|findstr 80 #查看pid
tasklit |findstr pid #查看pid被那個(gè)進(jìn)程占用.
tracert -d ip #路由節(jié)點(diǎn)跟蹤