Command Operation Performedcopy *.html d:\abc Copy HTML files to
ABC folder in D drive
pkzip xyz *.jpg Compress all JPEG
files into the Zip
archive XYZ.ZIP.
| Windows Command Line |
|---|
| After the command prompt was launched, the command cd /stage switches focus to the STAGE folder. The dir *.cmd lists all the Windows batch files, and prepnew executes the commands in the prepNEW.cmd file. |
| Mac/Unix/Linux Command Line |
|---|
| This example from macOS, which is a Unix-based operating system, shows two commands issued after the command line ("terminal window") was launched. The cd desktop switches focus to the desktop, and ls X* lists all files that begin with upper case "X." |