Windows – Search-and-go in Windows CMD

command linepromptwindowswindows 8windows-search

I know that for file search on Windows CMD one can use the following command:


Is there an easy way to go straight to the result directory. For example, the requested file is found in:

C:\Program Files…………….\myProgram\Readme.txt

How to quickly go to that directory via CMD (any commands)? Or one has to simply mark and copy/paste the path on the next prompt?

Best Answer

I know this is not the exact solution for your question, but you can always open a command prompt at a specified location by navigating to the desired location using windows explorer and then by pressing shift + right click and clicking "Open command window here".

If you already knew this, please disregard this.

Hope it helps.