I'm not sure of the commands or syntax needed to complete this but I thought it would be easy considering what I need it to do. Essentially I want to search C:\users\ for .exe files and output the computer name, path file was found so I know the user, and the .exe file into a log. I've been playing with for loops and Find. I just discovered the path command so I'm trying to understand that and how it can be used.
I'm so jumbled I wouldn't even know how to code this. I just know some of the bits that would go in it but I don't know them well enough to make anything work out of it. Any assistance or guidance would help a lot.
Oh and if possible I'd like to omit searching the users /temp folders or at least ignore any that are found there so they aren't in the log file.