Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

CSCI 4200 Lab 1 Windows Command Prompt 4 In the second line of the dir help text, notice also that you can piggyback any or

CSCI 4200 Lab 1 Windows Command Prompt 4

In the second line of the dir help text, notice also that you can piggyback any or all of the switches. Type a command that produces the long list output and also includes the owner of each file. Again piggybacking the switches, type a command that lists the current directory and all its subdirectories that pauses after each screenful of information. Once you get it working, after the third screenful of information, CTRL + C to kill the command. This is a handy tool in case you ever type a command that goes haywire.

CSCI 4200 Lab 1 Windows Command Prompt 5

Dir's sortorder. Type a command that lists the files in order of size, with the smallest file first. The dir help text tells you to use dir /O sortorder, where the symbol sortorder should be replaced by one of the codes N, E, G etc. listed in the output, e.g. the command dir /ON sorts by name. Type a command that lists the files sorted by file extension.

Making and removing a folder. Let's change drives back to the C drive. Remember, to change drives, just type in the drive letter followed immediately by a colon. Navigate to One Drive. Lets make a new folder to contain your work. The mkdir command (or just md for short) creates a new directory, also known as a folder. To get help on how to use the mkdir command, type mkdir /?

You will see that the usage is simple: the command verb mkdir, followed optionally by a drive name, followed by the path of the directory you wish to make. OK, lets make a directory named Joe College: mkdir Joe College

Windows responds by giving you another command prompt. There were no error messages, so Windows believes it has correctly carried out your command. Just to make sure, lets list the contents of our current location: dir You will see that Windows created two new directories, one named Joe and the other named College! This is a handy shortcut for when we wish to make more than one

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started