Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , ,

Sponsored Links



How i can make advanced search for files through command line?

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 29-12-2009
Member
 
Join Date: Dec 2009
Posts: 39
How i can make advanced search for files through command line?

Hey, I am looking for some great option of the command line so that i can make advance search for the same. I have been trying to make this thing happening from last one week but could not succeeded so finally i decide to post my query here to get the help form you side. I think this is the best place to ask the query regarding the same. Any help may be appreciated. Thank you
Reply With Quote
  #2  
Old 29-12-2009
goatape's Avatar
Member
 
Join Date: May 2008
Posts: 590
Re: How i can make advanced search for files through command line?

There is a tools which is giving the advance search option for the command line. With the help of this tools you can enhance your search in a better way. All you have to do is that just download it from the internet and install it on your system and when you need to search any think then use the syntax given "forfiles.exe /p C:\Windows" in command line. It also have lots of the option which make it better to search the files which are as follows
Code:
/p: Path to search
/m: File type to search
/s: Include subfolders
GTR: Greater than.
Thank you
Reply With Quote
  #3  
Old 29-12-2009
Devasis's Avatar
Member
 
Join Date: Jan 2008
Posts: 3,367
Re: How i can make advanced search for files through command line?

Hi there, You can also use the command of the file search which is given as "Dir /s *.doc". This will give you the complete search of the directory or the file which you have specified with this option. So go through the option and enjoy the searching of the same. You can enhance this option more with the name of the file. "dir /s *.doc > filename.txt" is the syntax for the same. I hope you like it. Say thanks if it work for you. Bye
Reply With Quote
  #4  
Old 29-12-2009
Solomon's Avatar
Member
 
Join Date: May 2008
Posts: 4,056
Re: How i can make advanced search for files through command line?

Hey there, You did not give any specification of the system you are using. That is which operating system you are using for your computer. This will help us to realize your problem in better way so that we can give you the correct solution. But still if you are using the Linux then use the "locate" and "find" command in the terminal to make search. You can use the option(c,d,i,r) of the same which will help you more to search the content of your. That it
Reply With Quote
  #5  
Old 29-12-2009
MrChris-'s Avatar
Member
 
Join Date: Apr 2008
Posts: 3,237
Re: How i can make advanced search for files through command line?

For the Linux User there are three command available which will help to find the files or the folder easily in the computer using the terminal or command line. These command are "whereis","locate", and "find" very useful for the search. You wont know the feature till that time you wont use i, So use it and tell me the same. Say thank if you like the same. Thank you
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How i can make advanced search for files through command line?"
Thread Thread Starter Forum Replies Last Post
How to create ZIP Files from Command-Line via VBScript? FB Windows Server Help 10 22-12-2011 12:18 AM
WinRAR command line to unzip files in multiple directories jymoo Software Development 1 05-10-2011 01:37 PM
xcopy command line together with wmplayer command line Aislinn Operating Systems 5 31-03-2010 01:13 PM
Download files from Linux command line chaosblade Operating Systems 3 28-08-2009 04:18 PM
Command line tool to convert VC project files to Makefile Harman Software Development 3 25-10-2008 06:19 PM


All times are GMT +5.5. The time now is 02:08 AM.