Skip to content

Commit 76dff5a

Browse files
Merge pull request #4 from syswriath/patch-1
Added ipconfig /flushdns
2 parents eb0984b + 3481b64 commit 76dff5a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: logoff.bat

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ REM Remove list of Recently opened documents - You can get a copy of sdelete her
2929

3030
sdelete "%USERPROFILE%\Recent\*.*"
3131

32+
REM Clears DNS records and Resets TCP/IP
33+
34+
ipconfig /flushdns
35+
3236
REM Compress the days puttylogs - 1.2
3337

3438
python puttylogs.py
@@ -39,4 +43,4 @@ echo %DATE% %TIME% >> %HOMEDRIVE%\logoff.txt
3943

4044
REM Log off my machine
4145

42-
shutdown -l -f
46+
shutdown -l -f

0 commit comments

Comments
 (0)