Softpanorama
(slightly skeptical) Open Source Software Educational Society

May the source be with you, but remember the KISS principle ;-)

Google   


Windows Command Line Tools

(Advocating usage of classic command line utilities to Windows)

News

Articles

Recommended Links Resource Kits Recommended Books Recommended Papers

Security

Scripting

Recovery console

Free Registry Tools

Free Process Map Tools

Norton Ghost Hardware OFMs FAR Totalcmd
Dual boot Filesystem Recovery Disk Backup Boot Loaders Office Command line mail clients VIM Archivers
Classic Unix tools Expect Command line Net Tools Perl VNC Telnet clients FTP clients

Rar

ssh syslog uwin SFU
(new version 3.5)
Cygwin Resource kit for win2k Resource kit for WinXP Resource Kit for windows 2003
Fighting spyware Light
weight  Editors
 Tweaking Web Log analysers Mirroring tools CD Boot Humor

Etc

Classic Unix command line tools and other OSS command line utilities is a part of  "command like" or orthodox ecosystem and in the opinion of the author they are badly known and underutilized in the Windows environment.

"Ripping out Windows desktop and installing Linux
doesn't change much because the same users are there"

Generally competition with OSS somewhat helps to control Microsoft in the same way Microsoft used to control IBM: in the past the great achievement of Microsoft was that it prevented (or at least limited) the ability of IBM brass to use its competitive advantages to push sub-par software.  Please remember that that catch phrase "GNU not Unix" can mean things quite different that RMS originally intended ;-). Actually a lot of commercial software both on Unix and Windows and first of all Oracle needs a reality check from open source. Switching to an open-source database can slash costs for one of the most expensive segments of the software budget by as much as 90%.  In such cases who cares is Oracle replaced with open source database (Postgres, Ingres, or MySQL) on Windows or on Unix as long as the result is reasonable reliability and lower costs.

It's interesting to note that Microsoft has pretty high level open source specialists in staff: in May 2005 Microsoft hired Daniel Robbins, the founder and former chief architect of Gentoo Linux, probably the best and definitely the most innovative among popular Linux distributions. Ballmer recently said that Microsoft has listened to customers who've demanded better support for non-Windows machines in Operations Manager software, Microsoft's key management product. Also, he said, the company will step up support for running Linux-based virtual machines in a service pack update to its Virtual Server product later this year.

The phrase "GNU not Unix" have a very special meaning indeed, probably unanticipated by Richard Stallman  ;-). For me often (but not always) using GNU utilities and other software ported from Unix to Windows is easier and provide more consistent environment then usage of native Windows tools. Unixification of Windows means maximization of the usage of command line tools and scripting.

It is not necessarily always means usage of  ported classic Unix utilities. Many UNIX utilities are outdated to the extent being obsolete (find, grep, sed: in most case using Perl is easier then messing with all obscure options that those utilities got for the last 30 years, unless you are professional Unix admin) and other (including native Windows) command line alternatives are probably preferable. But many are still extremely relevant (awk, expect, Korn shell, bash). Also for some Unix command line applications a better native alternatives exist in Windows.  For example, FAR is definitely better then port of Midnight Commander.

One of the tremendous advantages of Windows over Unix is that Microsoft managed to enforce a single macro language (to be more exact a pair of macro languages: VBA and JavaScript)  for many of its tools (including major workhorses like FrontPage, Ms Word, Excel, Visio,  etc). It is also used in some third party tools like Lotus Notes) and as an internal scripting language. In this respect only OS/2 can compete with Windows. At one point Sun has chances to match Solaris with Windows by using TCL but they never managed to pull it off. 

Windows has a powerful capabilities on the command line that are severely underutilized by most users. Actually Microsoft supports developers well and provides a lot of free or semi-free utilities. Windows Resource Kits are one such example. They are essentially collections of pretty powerful command line utilities. Unfortunately they are not very popular and are definitely underutilized.  I see creating your own powerful collection of command line utilities as an optimal way of using Windows in both personal and enterprise environments and Resource kit utilities as SFU are important components of this collection.

A powerful command line environment which is so characteristic for Unix can be more or less successfully replicated in Windows and provides the same advantages: a better, more "scriptable"  environment especially to use in tandem with Unix/Linux server (my preferred configuration).

Unixification of Windows means maximization of usage
of command line tools and scripting

 

Articles


Notes:
  • This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Some amount of grammar and spelling errors should be expected.
  • The site contain some broken links as it develops like a living tree... Please try to use Google, Open directory, etc. to find a replacement link (see HOWTO search the WEB for details). We would appreciate if you can mail us a correct link.
Google Search
Open directory

Research Index


Old News ;-)

2005 2004 2003 2002 2001

[Dec 3, 2007] SourceForge.net UnxUtils

Port of common GNU utilities to native Win32. In this context, native means the executables do only depend on the Microsoft C-runtime (msvcrt.dll) and not an emulation layer like that provided by Cygwin tools.

[Feb 24, 2007] Useful Tools for Windows XP from the Server 2003 Resource Kit

Many of the command-line tools from the Windows Server 2003 resource kit can be used in Windows XP. Some are described here.

Microsoft provides a large assortment of command-line tools, which can be obtained in a variety of ways. For users of Windows XP Professional, there are three major sources. One set of "native" tools is part of the standard installation and these are listed on another page. A second set, called "support tools", can be installed from a full version of Windows XP Professional or downloaded. These are the subject of this page on the present site. A third set is part of the Windows Server 2003 Resource Kit but are applicable to Windows XP. They can be downloaded here and are the subject of this article.

As would be expected, the Windows 2003 Server tools are intended for large networked systems and many are not appropriate for typical home systems. Nonetheless, many can be useful in a simple system. I have made a somewhat arbitrary selection of those that seem most helpful and discuss them below. Note that some of these tools are actually graphical (GUI) tools that are opened from the command line and this is indicated where it applies. A full list of the tools is available at the Microsoft download site. Once they are installed. the Help and Support Center will contain a list with descriptions and syntax for their use.

Cdburn.exe: ISO CD-ROM Burner Tool
CDBurn is a command-line tool that allows the user to write data images from image files located on the hard drive to a CD. The data image can be any kind of data, even raw data. This tool can also be used to erase CD-RW media.
Chklnks.exe: Link Check Wizard
Link Check Wizard (ChkLnks) is a GUI tool that scans all the link (shortcut) files on a computer to determine whether or not the shortcuts point to existing applications or documents. When Link Check Wizard does not find an associated application or document, the wizard lists that file as a dead link, giving you the option to remove it.
Cleanspl.exe: Spooler Cleaner
Spooler Cleaner (CleanSpl) is a GUI tool that restores the print spooler to its original state. It deletes all print jobs, printers, printer drivers, and spool files on a specified local or remote server.
Creatfil.exe: Create File
CreatFil creates a blank file of a specified size, filled with space characters.
Diskraid.exe: RAID Configuration Tool
DiskRaid is a command-line tool that enables configuration and management of redundant array of independent (or inexpensive) disks (RAID) storage subsystems.
Dvdburn.exe: ISO DVD Burner Tool
DVDBurn is a command-line tool that allows the user to write DVD images from image files located on the hard drive to DVD media. The data image can be created by any program capable of producing DVD image files. You can also use this tool to erase DVD media.
Empty.exe: Free Working Set Tool
Free Working Set Tool (Empty) is a command-line tool that frees the working set of a specified task or process, making those page frames available for other processes.
Iniman.exe: Initialization Files Manipulation Tool
IniMan is a command-line tool that enables you to add, delete, modify, or query sections or keys in an .ini file.
Instsrv.exe: Service Installer
Service Installer (InstSrv) is a command-line tool that installs and uninstalls executable services and assigns names to them.
Kernrate.exe: Kernel Profiling Tool
Kernel Profiling Tool (KernRate) is a command-line tool that is a CPU sample profiler. A sample profiler monitors performance and reports back to the user. KernRate reports on kernel and user-mode processes to provide information about CPU activity. Use KernRate to identify which processes are causing a CPU bottleneck.
Linkspeed.exe: Link Speed
Link Speed is a command-line tool that displays the speed of the connection between computers on a network.
Memmonitor.exe: Memory Monitor
MemMonitor is a command-line tool that monitors the memory a process uses
Memtriage.exe: Resource Leak Triage Tool
MemTriage is a command-line tool that detects a possible resource leak on a running system. MemTriage records process information or current kernel pool information and saves it to a log file.
Now.exe: STDOUT Current Date and Time
Now reads standard input (STDIN) and then displays, on standard output (STDOUT), the current date and time followed by the STDIN. Used alone, it displays the current date and time.
Ntimer.exe: Windows Program Timer
NTimer is a command-line tool that measures how long a program runs. NTimer shows elapsed time, time in user mode, and time in privileged mode.
Oh.exe: Open Handles
Open Handles is a command-line tool that shows the handles of all open windows. OH can also be used to show only information about a specific process, object type, or object name.
Oleview.exe: OLE/COM Object Viewer
OLE/COM Object Viewer (OLEView) is a GUI tool that allows you to manage all Microsoft Component Object Model (COM) classes installed on your computer.
Pathman.exe: Path Manager
PathMan is a command-line tool that adds or removes components from system or user paths.
Pmon.exe: Process Resource Monitor
Process Resource Monitor (PMon) is a command-line tool that displays several measures of the CPU and memory use of processes running on the system. The PMon display appears in the command window.
Printdriverinfo.exe: Drivers Source
Drivers Source (PrintDriverInfo) is a command-line tool that is used to collect information about printer drivers and is primarily used for support purposes.
Qgrep.exe
Qgrep is a command-line tool that is used to search a file or list of files for a specific string or pattern and return the line containing the match. QGrep also allows you to search multiple files and subdirectories. Qgrep is similar to the UNIX tool "grep".
Remapkey.exe: Remap Windows Keyboard Layout
RemapKey is a GUI tool that changes the layout of a keyboard by remapping the scan codes of the keys.
Robocopy.exe: Robust File Copy Utility
A versatile utility for maintaining an identical copy of a folder and its sub-folders in more than one location,  
Setprinter.exe: Spooler Configuration Tool
Spooler Configuration Tool is a command-line tool that is used to set configurations of local and remote printers 
Sleep.exe: Batch File Wait
Sleep is a command-line tool that causes the computer to wait for a specified amount of time. For use in batch files
Splinfo.exe: Print Spooler Information
SplInfo is a command-line tool that collects information from the print spooler and displays it.
Tail.exe
Tail is a command-line tool that displays a user-specified number of the last lines of a text file, such as a log file, in a console window.

[Nov 14, 2006] A Comparison of Solaris, Linux, and FreeBSD Kernel