Jump to content

Recommended Posts

Posted

Hello,

some installations of applications leave files in the startup folder. I want to delete them ...but it doesn't work.

This is how I try to do it. Can anybody look at this and help me do it the correct way?

$autostart = @StartupDir

FileDelete ("$autostart & '\' & 'any programme.lnk'")
FileDelete ("$autostart & '\' & 'yet another link.lnk'")

thank you

Posted

try

$autostart = @StartupDir

FileDelete ($autostart & '\any programme.lnk')
FileDelete ($autostart & '\yet another link.lnk')

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...