This what Im trying to do. still working on it. I’m trying to understand the coding behind the ones you linked.
for:
dos del {("%22" & it & "%22") of concatenation "%22;%22" of pathnames of descendants whose(name of it as lowercase ends with ".lnk" AND name of it as lowercase contains "uninstall") of folder ((it as string) of value "Common Start Menu" of key "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" of native registry)}
what if is upper case? what does %22 mean? Im trying to do Desktop. so Im thinking more like. this I what I put together in a batch.
Del /q "C:\Users\%username%\Desktop\" *CMS*.lnk
Del /q "C:\Users\Default\Desktop\" *CMS*.lnk
Del /q "C:\Users\Public\Desktop\" *CMS*.lnk
xcopy "C:\Users\%username%\Appdata\Roaming\Avaya\CMS Supervisor R14\Profiles\" "C:\Users\%username%\Appdata\Roaming\Avaya\CMS Supervisor R18\Profiles\" \Y \E
xcopy "C:\Program Files (x86)\Avaya\CMS Supervisor R14\Profiles\" "C:\Users\%username%\Appdata\Roaming\Avaya\CMS Supervisor R18\Profiles\" \Y \E
so how would I transmit this to Action language that BigFix uses