Category Archives: Uncategorized

WGET new Sysinternals Suite

  setlocal mkdir sysinternals cd sysinternals set UNZIP=7z x set WGET=wget set DELETE=del set REMOVEDIR=rmdir /q/s set TMPDIR=tmp set BINDIR=. mkdir %TMPDIR% mkdir %BINDIR% set ZIPNAME=Suite %WGET% http://download.sysinternals.com/Files/SysinternalsSuite.zip -O %TMPDIR%\%ZIPNAME%.zip %UNZIP% %TMPDIR%\%ZIPNAME%.zip -o%BINDIR% %DELETE% %TMPDIR%\%ZIPNAME%.zip %REMOVEDIR% %TMPDIR% cd..

Posted in Uncategorized | Leave a comment

Large copy job of web.configs

set TIMESTAMP=%DATE:~10,4%-%DATE:~4,2%-%DATE:~7,2%-%TIME:~0,2%-%TIME:~3,2%-%TIME:~6,2% md \\10.0.254.11\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.11\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.12\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.12\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.13\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.13\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.14\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.14\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.15\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.15\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.16\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.16\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.17\c$\Backups\”%1\%TIMESTAMP%”\ copy c:\inetpub\wwwroot\VPServices\web.config.* \\10.0.254.17\C$\Backups\”%1\%TIMESTAMP%”\ md \\10.0.254.18\c$\Backups\”%1\%TIMESTAMP%”\ copy … Continue reading

Posted in Uncategorized | Leave a comment

Windows Trim and VM’s

So we live in a virtual world. Said someone in the 90’s. Some startup gone IPO and had enronĀ as its backer. Long story. Back to matter at hand.

Posted in Uncategorized | Leave a comment