Monday, September 12, 2022
HomeOperating SystemHow one can Seek for Recordsdata from the MS-DOS Command Immediate

How one can Seek for Recordsdata from the MS-DOS Command Immediate


MS-DOS or Microsoft Disk Working System was the dominant working system for Private Pc all through the 80s. MS-DOS is a non-graphical command line working system. MS-DOS permits the consumer to navigate, open, and in any other case manipulate information on their pc from a command line as an alternative of a Graphic Consumer Interface (GUI) like Home windows.

Seek for Recordsdata from the MS-DOS Command Immediate

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt

With all of the developments in computing and the flamboyant and practical Graphic Consumer Interface out there, MS-DOS is not utilized by nearly all of pc customers. MS-DOS as an Working system will not be used however a Command Shell often known as Home windows Command Line remains to be used. Nevertheless, many individuals can be shocked to see MS-DOS used on their pc, they might by no means know that it even exists.

Trying to find information utilizing MS-DOS lets you search the entire laborious drive for information. This may be an intensive search of the laborious drive for the file that you’re in search of. Looking with MS-DOS is a option to make sure that a file exists or doesn’t exist on the pc since this can be an intensive search of the pc. Looking with the command immediate can be a really quick option to search the entire pc or only a particular file or drive.

  1. Opening MS-DOS
  2. Key phrase Search
  3. Wildcard Search
  4. Search Utilizing the File Extension
  5. Accessing the File
  6. Troubleshoot Looking with Command Immediate
  7. Some MS-DOS Instructions

1] Opening MS-DOS

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Opening-Command-Prompt

To open MS-DOS press Begin then sort Command or CMD and you will notice Command Immediate come up within the search. Click on the Command immediate icon to open it or go to Open. You may additionally click on Search and kind Command or CMD and you may then open the Command Immediate from there.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Command-Prompt-Window

You will notice a black window with white phrases open. That is the command immediate interface that you’ll use. You’ll be able to strive it out by typing dir after which press enter.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Dir

Dir will give an inventory of the content material of the present listing.  You will notice the listing title and path for instance C:Usersmy laptop. Beneath that you will notice a desk record of the directories with time and date.

2] Key phrase Looking

Utilizing command immediate is a little bit technical and it’s essential keep in mind the instructions to make use of. Command immediate is an effective way to stretch your mind although. When you could have opened command immediate sort CD / then press enter. CD / will take you to the basis listing, change the listing or simply present the present listing.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Command-Prompt-Dir

To begin trying to find a file sort Dir after which an area then sort the title of the file that you’re in search of.  In case you sort Dir after which press enter, you can be proven the directories of the present drive that you’re on. On this case, it’s drive C.

Whenever you sort Dir then area and the title of the file, you might be saying that you’re looking out the listing of the present drive for the file specified. An instance of a search can be Greenery, and greenery often is the title of a textual content file.

To seek for Greenery you’d sort dir greenery.txt /s /p then press Enter. The /s possibility directs a search of all folders on the laborious drive; the /p possibility pauses the show after every display of textual content. If the p will not be positioned within the search syntax, the search consequence can be one steady consequence within the case the place there are loads of search outcomes. The p tells the pc to interrupt up the outcomes. To maneuver on to a different web page of outcomes simply press Enter.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Search-syntax

That is how you’d sort it within the command immediate, and the way it could look.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Searching-Screen

That is what can be displayed on the display while you press enter and the search is being accomplished.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-File-not-found

That is what’s displayed if the file will not be discovered.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Search-Successful

That is what’s displayed when the search is profitable.

3] Wild Card Search

You’ve gotten the choice of trying to find the file utilizing the total title if you recognize it. If you’re unsure of the total file title, you’ll be able to fill within the lacking half with an asterisk (that is the wildcard). For instance, if you’re trying to find a file that you simply suppose is known as Greenery or Inexperienced one thing, it might be a textual content file created in phrase pad. If you’re unsure of the total title, you’ll be able to seek for Inexperienced*. The search will search for all information that start with the phrase Inexperienced.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Search-using-wildcard

That is what can be typed in command immediate dir inexperienced* /s /p and the way in which it could be displayed within the command immediate.

The search utilizing the wild card could return loads of outcomes, if you don’t use the p within the search syntax, the display will scroll robotically with outcomes, and you’ll have to preserve scrolling again to have the ability to see the earlier outcomes.

The search utilizing the wild card may also be used in case you keep in mind the final a part of the file title however not the primary. You’ll sort the asterisk after which the half that you simply keep in mind. You’ll sort dir  *ery /s /p after which press enter.How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Search-Wildcard-at-front

The command immediate would appear like this.

4] Search Utilizing the File Extension

One other option to search is by utilizing the file sort/extension. Since you recognize that the file is a textual content file you’ll be able to seek for .txt extension. That is good for circumstances the place you forgot the file title however you recognize the file extension. You’ll sort dir *.txt /s /p into the command immediate then press enter.  The means begin from the basis and /means subdirectories. Meaning you might be telling the command immediate to look the basis listing and all subdirectories.

5] Accessing the File

After discovering the file utilizing the command immediate, you could need to entry it. To entry the file you merely open an explorer window then copy and paste the trail of the file within the handle bar on the high. You may also discover the file by pasting the trail from command immediate into the search area in Home windows. The trail to the file is normally above the file that’s discovered. So if you’re in search of greenery, while you discover it you will notice the trail to the file simply above it.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt-Path-to-File-Found

The file discovered and the trail to it.

6] Troubleshoot Looking With Command Immediate

It’s possible you’ll be trying to find a file and you might be getting a file not discovered or discovering an incorrect file. Look carefully on the spelling of the file title. if the title is wrong if won’t discover it or it might return a file that has the identical title as the wrong spelling.

Be aware that if you’re not utilizing the wild card (* asterisk) after the file title, you’ll have to put the file extension after the title. for instance, in case you sort dir greenery /s /p, you’ll get file not discovered. You’ll both write dir greenery.txt /s /p or dir greenery* /s /p

7] Some MS-DOS Instructions

  • cd – Change listing or show present listing path.
  • cls  –  Clear the window.
  • dir  – Show record of contents of present listing.
  • assist – Show record of instructions or assist a couple of command.
  • notepad  – Run the Home windows Notepad textual content editor.
  • sort – Shows the contents of a textual content file.
  • exit – exits the command immediate
  • explorer – Opens Home windows Explorer

Learn:

How do I discover a file utilizing Command Immediate?

You’ll first need to open the command immediate by going to look and typing CDM or command then open it. When the command immediate display opens sort dir filename.extension /s /p. you may additionally seek for the file by typing wild card character * on the a part of the file title that you simply overlook. If you’re in search of a file known as e book and also you overlook the final letters sort dir bo* /s /p. in case you overlook the primary half sort dir *okay.txt /s /p. that’s if it’s a textual content file, in case you overlook the file extension you can write dir e book* /s /p.

How do I open a file that I discovered in Command Immediate?

When you could have looked for a file in command immediate and you’ve got discovered it then the subsequent step could also be to open it. You open an explorer window then copy and paste the trail of the file within the handle bar on the high then press Enter. You may also discover the file by pasting the trail from command immediate into the search area in Home windows.

How-to-Search-for-Files-from-the-MS-DOS-Command-Prompt

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments