List All *.exe In %TEMP%

Conejo

Well-known member
Joined
Jul 24, 2013
Messages
65
Location
USA
Programming Experience
1-3
I have this code so far:

dim textbox1 as new textbox
textbox1.text = system.io.path.gettemppath & "\*.exe"

This works in scripts but its not working in vb.net, i googled but didnt find an answer can someone please help me?
 
You can use the Directory.GetFiles method to get a list of files from a specified folder. You know how to get the path of the temp folder and you know the file extension to filter by.
 

Latest posts

Back
Top