C Scan the .exe files in all disks of this machine in C and obtain their paths. What should I write? What idea?
In Windows, you open cmd.exe and enter
dir /s /b *.exe
It will search all .exe files starting from the current directory. You can call these commands using the system() function under Windows.
In Windows, you open cmd.exe and enter
It will search all .exe files starting from the current directory. You can call these commands using the system() function under Windows.