Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Use Windows Explorer to navigate to the desired location ( c: users student documents find lab ) Open each of

Use Windows Explorer to navigate to the desired location (c:\users\student\documents\find lab\)
Open each of the files in Notepad and search for the string error in each of the files.
When you double-click a file, most files will automatically, but there are a couple that will ask you what to use on the file, choose Notepad.
In Notepad, choose the Edit menu and select Find
The Find dialog box will appear
Type error in the Find what field.
If your search finds the string "error" in the document, it will highlight the find.
Using the snipping tool to capture 3 total different finds, preferably in different files.
Paste each one in a Word document, with a small description for each.
10 points each
Now, let's repeat this search in the Command Line Interface (CLI).
Open a Command Prompt
Press the Start Button, the type cmd
You start in "c:\users\student\", and we need to move to "c:\users\student\documents\find lab\"
First, let's move one directory down to the Documents folder.
type cd Documents and hit the enter key
Notice the prompt changes from c:\users\students to c:\users\students\documents
Next, move down one more directory into find lab
type cd "find lab" and hit the enter key
Once again the prompt changes to show the new location
Windows has a built command to search files for a string, findstr
A string is any series of letters and numbers
Use findstr to find all occurrences of error in all files in the current location
Type findstr /C:error * followed by the enter key
There are spaces between findstr and /C:error, also between /C:error and *
You will see the screen show numerous occurrences of error found in the files.
Grab 2 screenshots of these errors
Also, grab 1 screenshot of the command you typed to find them
Paste all the screenshots in the Word document
After all the errors have been found, at the prompt press the up arrow to see the last command you typed
The screenshots are worth 10 points each.
Lastly, answer and explain the following questions 20 points each.
Which way is easier to find the error (GUI or CLI)?
Which way would be more error-prone?

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

Students also viewed these Databases questions