Use iCacls to set permissions on a directory and all sub-directories

icacls “C:\Program Files\My Folder\” /T /C /grant “Domain Users”:(OI)(CI)M Read more at: http://technet.microsoft.com/en-us/library/cc753525(WS.10).aspx http://ss64.com/nt/icacls.html

Test TCP Utility (TTCP)

If you ever needed to test the throughput or bandwidth of your LAN or WAN, here is a small utility that will allow you to truly see what the network speed is working at. Prerequisite: PsTools, specifically PsExec must be available on your computer.  Dropping all the “Ps” tools into your %PATH% is recommended. Download [...]

Delete Event Viewer Logs in Windows 7

Quick and easy way to delete your Event Viewer Logs in Windows 7. @echo off for /F “tokens=*” %%G in (‘wevtutil.exe el’) DO (call :clear_it “%%G”) echo. echo Event Logs have been cleared! ^<press any key^> goto fin :clear_it echo %1 – CLEARED wevtutil.exe cl %1 goto :eof :fin pause>NUL Note: You must run this [...]

How to create a unique filename with date / time in filename

This little snippet of code will allow you to set a filename based on date and time.  This comes in handy if you ever need to create backup files. for /f “delims=/ tokens=1-3″ %%a in (“%DATE:~4%”) do ( for /f “delims=:. tokens=1-4″ %%m in (“%TIME: =0%”) do ( set FILENAME=basename-%%c-%%b-%%a-%%m%%n%%o%%p ) )

Follow

Get every new post delivered to your Inbox.