James22 Posted April 9, 2010 Posted April 9, 2010 I want to delete the Seamonkey shortcut from the start menu on multiple PC's using: FileDelete (@StartMenuCommonDir & "\Seamonkey 1.1.12.lnk") However, I have noticed that many PC's have different names for the shortcut. e.g Seamonkey.lnk, Seamonkey.1.2.lnk, Seamonkey 1.1.12.lnk etc... Is it possible to use a wildcard within the file name for Filedelete to recognise all links that have "Seam" in it? FileDelete (@StartMenuCommonDir & "\Seam*.lnk")
funkey Posted April 9, 2010 Posted April 9, 2010 Wildcards are supported, yes! See documentation! Programming today is a race between software engineers striving tobuild bigger and better idiot-proof programs, and the Universetrying to produce bigger and better idiots.So far, the Universe is winning.
kaotkbliss Posted April 9, 2010 Posted April 9, 2010 Wildcards are supported, yes!See documentation!Your avatar hurts my eyes! lol 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy!
ajag Posted April 9, 2010 Posted April 9, 2010 I want to delete the Seamonkey shortcut from the start menu on multiple PC's using: FileDelete (@StartMenuCommonDir & "\Seamonkey 1.1.12.lnk") However, I have noticed that many PC's have different names for the shortcut. e.g Seamonkey.lnk, Seamonkey.1.2.lnk, Seamonkey 1.1.12.lnk etc... Is it possible to use a wildcard within the file name for Filedelete to recognise all links that have "Seam" in it? FileDelete (@StartMenuCommonDir & "\Seam*.lnk") ... I think it is much faster to make a test than typing this post ... A-Jay Rule #1: Always do a backup Rule #2: Always do a backup (backup of rule #1)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now