chmod is a command line utility for Unix like systems used to set permissions on files & folders. Windows has a similar utility: cacals.exe
cacals.exe example:
cacals.exe "c:\Program Files\Duff Application\" /e /p everyone:f