Microsoft windows command line interface

Click For Summary

Discussion Overview

The discussion revolves around resources and tools for learning the Windows command line interface, including its historical context, comparisons with Linux command line tools, and the introduction of PowerShell. Participants explore various educational materials and command usage.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification

Main Points Raised

  • One participant notes the prevalence of Linux console resources and seeks similar materials for the Windows command line.
  • Another suggests starting with old DOS tutorials, indicating that the Windows command line is fundamentally based on DOS.
  • A participant provides a reference to a command line guide for Windows XP and later, mentioning a specific use of the ping command for creating delays in batch files.
  • A link to a website offering command line resources is shared by another participant.
  • Discussion includes the mention of PowerShell as a more advanced command line tool and suggests exploring Cygwin for Unix-like shell experiences on Windows.
  • Commands such as 'help' and 'dir' are suggested for users to familiarize themselves with the command line interface.
  • One participant recommends "Take Command" for extensive command line work and shares links to related video resources.
  • PowerShell is described as a powerful tool for command-line automation, with some participants emphasizing its capabilities as a programming language.

Areas of Agreement / Disagreement

Participants generally agree on the value of learning both DOS and PowerShell for effective use of the Windows command line, but there are varying opinions on the best resources and approaches to take.

Contextual Notes

Some limitations include the potential for outdated references, the evolving nature of command line tools, and the varying levels of familiarity participants may have with different command line environments.

Who May Find This Useful

Individuals interested in enhancing their command line skills, particularly those transitioning from Linux to Windows or seeking to automate tasks in a Windows environment.

medwatt
Messages
122
Reaction score
0
Hello,
In linux Konsol is very prevalent and its books are ubiquitous. Given that windows is the more popular of the two and being relatively easier a lot of us don't find much use let alone learn how to use windows console commands. I am looking for a website or a book which covers extensively windows console(cmd) and its command.
Thank you
 
Computer science news on Phys.org
Just look for old DOS tutorials. That's what the Windows command line is, basically, just DOS.

It DOES have some new stuff that didn't exist in DOS but for the basics, learn DOS first, then move on to the newer Windows-based commands.
 
Microsoft command line reference for Windows XP and later versions of windows:

command_line_reference

Not mentioned is that ping can be used as a delay command, for example to get a 5 second delay in a batch file:

@rem delay for 5 seconds (set n to count + 1)
@ping 127.0.0.1 -n 6 >nul
 
There is also something called "windows powershell".
You could also consider installing cygwin which allows you to use standard unix shells like bash under windows.
 
At the Command Prompt type:

C:\>help

C:\>help | more
(displays output one screen at a time)

C:\>dir /?
(displays help for a given command)

C:\>net help
(network)

If you are going to do some extensive work I would recommend Take Command.

https://www.youtube.com/watch?v=IeAPFpFP3_k


https://www.youtube.com/watch?v=ifhWbFBm62Y
 
Last edited by a moderator:
As DrDu mentioned, take a look into PowerShell. It's the successor to Windows cmd.exe. Just to a search for essential or basic PowerShell commands and that should keep you entertained for a while.

It's a very powerful administration tool!
 
Windows Powershell is pretty much a full-featured programming language along the lines of Unix shells, and that is what people use for command-line automation on Windows networks.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 21 ·
Replies
21
Views
4K
Replies
3
Views
3K
Replies
20
Views
76K
Replies
9
Views
11K
Replies
2
Views
6K
Replies
10
Views
5K
  • · Replies 9 ·
Replies
9
Views
9K
  • · Replies 7 ·
Replies
7
Views
5K
  • · Replies 25 ·
Replies
25
Views
4K