What exactly can you do with the command prompt? I know I can execute java files(when java installed), look for IP address and defrag.
asked Jul 22 '10 at 12:51
The command prompt has been depreciated, and is there mostly for compatibility reasons these days.
Windows Vista and Windows 7 come with the much improved Windows PowerShell, which as the name name implies, is a powerful command shell for NT based operating systems. It comes with its own scripting language which puts batch files to shame. As an added bonus, PowerShell also supports UNC paths, allowing it to interact with network shares (the old command prompt can't do this).
Ideally, anything you can do from the Windows GUI should be possible from PowerShell. The command line nature also allows for batch processing of large numbers of items (weather they be files, settings, or entries in a database) very easily.
As a side note, PowerShell is also available for Windows Xp as a separate download from Microsoft, if you're using an older system and want to try it.