[DOS] Command to find a file
B@|-|@N
Posted messages
386
Status
Membre
-
M&M Posted messages 5058 Status Contributeur -
M&M Posted messages 5058 Status Contributeur -
Hi, hello everyone.
Still with my limited web access, I was wondering if there isn't a command to perform a find in DOS. The existing find command in DOS allows you to search for characters contained in a file. However, I want to search for files.
Thanks in advance for your help.
Bahan
--
Close the world.||.Open the next
Still with my limited web access, I was wondering if there isn't a command to perform a find in DOS. The existing find command in DOS allows you to search for characters contained in a file. However, I want to search for files.
Thanks in advance for your help.
Bahan
--
Close the world.||.Open the next
1 réponse
Hello Ballon,
it's easy, you use the command "Dir /S" which will search your whole disk and give you the content of all subdirectories as well, you can save it to a file with dir /s > fichier.txt and search with Edlin, I advise against it unless you have aspirin in your pharmacy.
Download fgrep for DOS at
http://www.cmsacademic.com/fgrep/fgrep.htm or
http://www.filegate.net/utiln/utilnet/
and run the command
DIR /S | FGREP poupoupi.dou
Note that you can also search for all files accessed on a certain day with dir /t:A /s | fgrep "21/03/2006"
_ç_§:
(.)#(.)
it's easy, you use the command "Dir /S" which will search your whole disk and give you the content of all subdirectories as well, you can save it to a file with dir /s > fichier.txt and search with Edlin, I advise against it unless you have aspirin in your pharmacy.
Download fgrep for DOS at
http://www.cmsacademic.com/fgrep/fgrep.htm or
http://www.filegate.net/utiln/utilnet/
and run the command
DIR /S | FGREP poupoupi.dou
Note that you can also search for all files accessed on a certain day with dir /t:A /s | fgrep "21/03/2006"
_ç_§:
(.)#(.)