shortcut delete
I have an app that places a shortcut on the desktop. If installed on XP I can delete the the desktop shortcut from within my Wise Script Editor package after the installer is done but running cmd.exe /c del Icon.lnk
But this does not work on Windows 7. On Windows 7 I have tried the following and nothing works.
cmd.exe /c del "c:\users\public\desktop\Icon.lnk"
cmd.exe /c del "c:\users\public desktop\desktop\Icon.lnk"
Is this a special folder that does not allow scripts to access it?
But this does not work on Windows 7. On Windows 7 I have tried the following and nothing works.
cmd.exe /c del "c:\users\public\desktop\Icon.lnk"
cmd.exe /c del "c:\users\public desktop\desktop\Icon.lnk"
Is this a special folder that does not allow scripts to access it?
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
jmaclaurin
13 years ago
Posted by:
rock_star
13 years ago
Posted by:
sammaustria
13 years ago
Posted by:
jmcfadyen
13 years ago
Posted by:
anonymous_9363
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.