I want to use a script that will look in the following locations for .exe files in the…
- User
I want to use a script that will look in the following locations for .exe files in the following locations and give me the long list of file names with the .exe and not the file path just the actual process name.exe and put in a txt document
C:\Program Files (x86)\AMD C:\Program Files (x86)\Audeze C:\Program Files (x86)\Battle.net C:\Program Files (x86)\Display Driver Uninstaller C:\Program Files (x86)\DroidCam C:\Program Files (x86)\K-Lite Codec Pack C:\Program Files (x86)\MSI Afterburner C:\Program Files (x86)\Revision Tool C:\Program Files (x86)\RivaTuner Statistics Server C:\Program Files (x86)\Steam C:\Program Files\AMD C:\Program Files\BCUninstaller C:\Program Files\EA Games C:\Program Files\Electronic Arts C:\Program Files\EqualizerAPO C:\Program Files\Everything C:\Program Files\gsudo\Current C:\Program Files\KDE Connect C:\Program Files\LGTV Companion C:\Program Files\NZXT CAM C:\Program Files\Process Lasso C:\Program Files\Proton AG C:\Program Files\PuTTY C:\Program Files\TeraCopy C:\platform-tools D:
Z:\ - Assistant
Here's a PowerShell script that will scan the specified directories for
.exefiles and write the names of these files (without the full path) to a text document. Please make sure you have the appropriate permissions to access the listed directories and that the paths exist on your system.