Posts

Showing posts from 2008

Finding a good and free firewall

Due to a recent Trojan attack, I reformatted my computer and decided to try a new firewall. I had been previously using the free version of Sunbelt Personal Firewall, which I highly recommend as a good and easy to use firewall, until the constant prompt that my free version is running in limited mode got on my nerves. It’s hard to find an ad-free, friendly and non-resource hogging free firewall these days. Kudos to companies like Check Point (Zone Alarm), Sunbelt Software (Sunbelt Personal Firewall) and Tall Emu (Online Firewall) for releasing a free version of their firewalls. Oh, and not forgetting ALWIL Software (Avast!) and AVG Technologies (AVG) for their home versions of anti-virus too. Without further ado, here’s some thoughts on the firewalls I’ve tried: Sunbelt Personal Firewall 4 (Free version) Pros: I started using this when it was still Kerio Personal Firewall. Loved the simple interface and how easy it was to install and setup. Heck, there was hardly any setup required u...

Count the number of files in a directory (Windows)

Was randomly asked to find out the number of files in the project at work and most searches on Google turned up instructions for doing it in Unix/Linux. Figured I should put the Windows version here for future reference. Fire up MS-Command Prompt and... dir "c:\myworkspace" /s /b | find /c ".txt" Returns the count of number of text files in current directory (myworkspace) and all sub-directories. dir "c:\myworkspace" /s /b | find ".txt" > listOfFiles.txt Outputs the list of text files in current directory and all sub-directories to the file listOfFiles.txt How it works: Taken from Computer Hope.com - MS DOS and command prompt dir [path] [attributes] Displays a list of files and subdirectories in the directory specified by [path]. /s Displays files in specified directory and all subdirectories. /b Uses bare format (no heading information or summary). find [attribute] "string" Searches for a text string in a file or files. /c Displays ...