aka CommandLine


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


The Windows NT Command Shell (Ch2 of “Windows Shell Scripting)
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
Get the most from the command prompt


All DOS, all the time


Five Windows command prompt tips every IT pro should know - tips, shortcuts, etc. some batchfiles







Auto Run

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 RegEdit 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:\
    • Note, always make a backup of your registry before you modify it! (okay, so I hardly ever do this in practice)


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"AutoRun"="prompt $G"



I haven’t had any luck getting prompt-changes to persist. But I can use the above technique with the setting prompt $G and have a nice, tidy little prompt.
No idea if you can set the AutoRun to multiple lines....




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.


Win7 run as administrator

how to open an admin-privileged shell
several methods of creating a shortcut for an admin-privileged shell



Misc Tips

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



See Also





CommandLine shells DOS win32



Comment Page  

  Illuminesse   - 19.01.2019 - 00:04    
Im happy I finally signed up

I like the valuable info you provide in your articles.
I’ll bookmark your blog and check again here regularly.
I am quite certain I’ll learn many new stuff right here! Good luck for the next! https://illuminessecream.com/(approve sites)

  Viola Skin Serum   - 28.11.2018 - 16:14    
Just want to say Hello.

I must express some appreciation to this writer for bailing me out of this type
of problem. Right after exploring throughout the the web and meeting techniques which were not helpful, I figured my entire life was over.
Existing devoid of the strategies to the difficulties you have solved all through your guideline is a crucial case, as well as those which may have negatively damaged
my career if I had not noticed your blog post. Your own understanding and kindness in touching
a lot of things was very helpful. I am not sure what I
would’ve done if I hadn’t discovered such a subject like this.
I’m able to now look forward to my future. Thanks a lot very much for your professional and sensible guide.
I will not think twice to propose your site to any individual
who should get guide about this problem. https://violaskincare.net/(approve sites)

  va home loan   - 17.11.2016 - 15:25    
http://helpfultip.eu/category/home-mortgages/(approve sites)

If some one wishes to be updated with newest technologies then he must be pay a visit this web page and be up to date every day.

  allergy mattress cover   - 16.11.2016 - 20:35    
http://goodtip.eu/category/allergies/(approve sites)

It is really a nice and helpful piece of information. I am glad that you shared this helpful information with us. Please keep us up to date like this. Thank you for sharing.

  gold coin dealers   - 16.11.2016 - 20:35    
http://helpfultip.eu/category/gold/(approve sites)

Pretty part of content. I simply stumbled upon your blog and in accession capital to say that I get in fact enjoyed account your blog posts. Anyway I will be subscribing on your feeds and even I success you get right of entry to constantly rapidly.



Add Comment

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