Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- rasdial /disconnect
- rasdial Desktop_ADSL 帳戶名稱 帳戶密碼
- set dd=%date:~8,2%
- set dm=%date:~5,2%
- set dy=%date:~0,4%
- set dh=%time:~0,2%
- set dmi=%time:~3,2%
- if %dh% LSS 10 goto type01
- If %dh% GEQ 10 goto type02
- :type01
- set dh=%time:~1,1%
- ipconfig /all > "Dropbox共享資料夾位置\%dy%_%dm%_%dd%_0%dh%_%dmi%.txt"
- goto END
- :type02
- ipconfig /all > "Dropbox共享資料夾位置\%dy%_%dm%_%dd%_%dh%_%dmi%.txt"
- GOTO END
- :END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement