Greetings all,
Still working on my scripts for Windows 7, found the following site that lists system variables for W7:
I want to remove icons created by programs I install, so I was looking for the default all user desktop directory variable, which according to this site is this:
%CSIDL_COMMON_DESKTOPDIRECTORY%
Here is the syntax I'm using:
DEL /F "%CSIDL_COMMON_DESKTOPDIRECTORY%\program.lnk"
I try to use it and it's not working. Any ideas? Thanks.
- Dan
Still working on my scripts for Windows 7, found the following site that lists system variables for W7:
I want to remove icons created by programs I install, so I was looking for the default all user desktop directory variable, which according to this site is this:
%CSIDL_COMMON_DESKTOPDIRECTORY%
Here is the syntax I'm using:
DEL /F "%CSIDL_COMMON_DESKTOPDIRECTORY%\program.lnk"
I try to use it and it's not working. Any ideas? Thanks.
- Dan