aka Command Line

 

In MS Windows, cmd.exe is the primary shell access.

 

Command-line reference A-Z
An A-Z Index of the Windows NT/XP command line

 

adjust cmd properties
Stupid Command Prompt Tricks
Speedy cmd-prompt navigation for sub-dirs
enable
Get the most from the command prompt
http://www.pctools.com/guides/registry/id/180/

 

All DOS, all the time

 

Batch-files

tutorial

 

 

Default Dir

From a LockerGnome article

 

  1. If you frequently open a command-line window by typing “cmd” at the Run prompt, you may not be happy with the default directory Windows picks.
  2. Change it by using Reg Edit? to open HKEY_CURRENT_USER\Software\Microsoft\CommandProcessor.
  3. Make a new String Value and call it AutoRun. The value should be set to CD /D C:\

 

Help

CMD /? for several pages of info

 

 

quick shortcuts

  1. Pressing arrow up selects a previous command from your command history; similarly, arrow down selects the next command.
  2. Pressing F7 pops up your command history list.
  3. You can drag n’ drop files or folders from an explorer window into a command prompt; this inserts the quoted path as if you had manually pasted it.
  4. Tab completion is fully supported; type edit *.ini then hit TAB to iterate through all matches. Use SHIFT+TAB to move to the previous match. This works for partial filenames as you would expect, and in all commands.

 

Misc Tips

Ctrl-c to exit data entry/script-running/etc.
cls is windows clear

 

 

See Also

Programming.CygWin
Programming.Shell
Programming.Bash
Emacs.Emacs#Shell
Programming.Scripting
Windows Shortcuts

 

Tags

CommandLine Shell DOS Windows


 

Comments

No comments yet.

 

 

Add Comment

Heading:
 Your Message
 
 Enter value ← Have you entered the code number?
Author: