how to remove a specific file from the window recent file

  • Thread starter Thread starter satyaprakash47
  • Start date Start date
S

satyaprakash47

Hello
How can we remove a specific file from the window recent file list
through vb.Net.
 
Try deleting <file name>.lnk from C:\Documents and Settings\<your user
name>\Recent

Environment.GetFolderPath(Environment.SpecialFolder.Recent) will give the
above path.

in message Hello
How can we remove a specific file from the window recent file list
through vb.Net.
 
* (e-mail address removed)-spam.invalid (satyaprakash47) scripsit:
How can we remove a specific file from the window recent file list
through vb.Net.

Untested:

\\\
System.IO.File.Delete(System.IO.Path.Combine(System.Environment.GetFolderPath(Environment.SpecialFolder.Recent), "foo.lnk"))
///
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top