How can I print full path of an executable command in Windows?
I'm not really sure what you are asking, but judging by your comments, you may be looking for where
.
where foo
where foo | clip
The second example will place the whole path into the clipboard.
If I remember correctly, where.exe
needs to be added to XP/2003 from the Windows 2003 Resource Kit or XP Support Tools.