Hello, i want to search for a program, like this:
cd "C:\"
for /f "delims=" %%f in ('dir /b /s myprogram.exe') do (
)
First problem: i want to let it search trough all hard drives (like 'cd My Computer' or something like that?)
After that, it should make a variable of the directory in which that program is.
How to do that in batch/cmd?