DOS command: Where

November 7th, 2007 by Mr.M | No Comments »

Found this interesting little command today. A co-worker & friend asked me how to find a file name on a remote server.

At first, it sounds pretty easy right, do a ‘dir \\servername\path\filename.’ Well … she doesn’t know the path.

Looked around and found the WHERE command … oooo. Syntax is as followed

where -r \\serverName\e$ *.lsb

Good stuff. Peace out.

Leave a Reply

You must be logged in to post a comment.