News

Archives

Blogs

Syndication:

Searching for Files Using the Visual Studio 2008 Command Prompt

I just ran into a scenario where I couldn't find a file in it's expected directory.

I took the next logical step and ran a typical search using Windows Explorer. Unfortunately this search turned up no results.

I then found out about the WHERE utility in the Visual Studio 2008 Command Prompt. Using this utility I was able to display all possible locations of the file on my machine based on a search pattern.

Here's what you do:

  1. Start -> Programs -> Microsoft Visual Studio 2008 -> Visual Studio Tools -> Visual Studio 2008 Command Prompt
  2. Type where [search pattern for the files to match]

Hope that helps!

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Thursday, February 04, 2010 1:35 PM

Feedback

# re: Searching for Files Using the Visual Studio 2008 Command Prompt

This is an interesting problem. After you found out where the file was, did you try searching it from Windows Explorer again? Wonder why it didn't show up in the first place.

This is a great hint. I personally do not like windows search and is always looking for alternatives. 2/4/2010 2:25 PM | LifeLongTechie

# re: Searching for Files Using the Visual Studio 2008 Command Prompt

This works from cmd as well 2/4/2010 10:54 PM | Dave

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: