How to get the paths of all .exe files on this machine in C C++
为情所困
为情所困 2017-06-07 09:24:04
0
1
814

C Scan the .exe files in all disks of this machine in C and obtain their paths. What should I write? What idea?

为情所困
为情所困

reply all(1)
世界只因有你

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template