Get the code from:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
http://gnuwin32.sourceforge.net/downlinks/coreutils.php

To setup the Windows PATH:
1. Open the Control Panel

2. Choose "System and Security"

3. Choose "System"

4. Choose "Advanced System Settings"

5. Choose "Environment Variables"

6. Under "System variables" click "Path"

7. Click Edit and append the following:

;C:\Program Files\GnuWin32\bin\

8. Open a new MS-DOS terminal window and test commands such as ls, sleep, etc.