+5 votes
View, search and open Windows CMD Files

ago in Windows11 by (546k points)
reopened ago | 3 views

1 Answer

+3 votes
Best answer

How to open files in Windows with CMD

To stay up to date, remember to subscribe to our YouTube channel!


When we work in Windows environments, it is normal that we host files and folders in different paths or drives. We do this in order to organize our work, but there may come a time when we need to know the path of a file to open it and we do not remember where. was saved, to solve this, Windows 11, 10 also offers us a very simple method to search and open files and it is through the CMD console..


In this case we will use the dir command, this is a command that generates a list of the files and subdirectories of a specific directory, it is ideal to see the structure and content, when executing this command we find details such as:


  • The volume label and serial number of the disk.
  • The list of directories and files on the selected disk.
  • Name, date and time of last modification, etc.




Now TechnoWikis will teach you how to use this command in Windows to find and open a file.


How to open files in Windows with CMD


Step 1

The first thing is to open CMD from the search box:




Step 2

Now, in the console we are going to execute the following syntax:
 dir “\name*” /s 
Step 3

When we press Enter, the search for the associated results will begin:





Step 4

There we must take into account the path where the file is with the name that we have indicated, now, using the “cd” command we go to that path and list the content with “dir”.




Step 5

To open the file, we must execute the following:


Step 6

We will see the open file:




We see how simple it is to search for and open a file in Windows using CMD..


ago by (3.4m points)
edited ago

Related questions

+4 votes
1 answer
asked Sep 17, 2019 in Windows 10 by backtothefuture (546k points) | 285 views
+3 votes
1 answer
asked Jan 19 in Windows11 by backtothefuture (546k points) | 32 views
+3 votes
1 answer
asked Jul 27, 2020 in Windows 10 by backtothefuture (546k points) | 219 views
+3 votes
1 answer
asked Jul 23, 2020 in Windows 10 by backtothefuture (546k points) | 378 views
+4 votes
1 answer
asked Oct 5, 2019 in Security by backtothefuture (546k points) | 468 views
Sponsored articles cost $40 per post. You can contact us via Feedback
10,538 questions
10,666 answers
3 users