In Vista/7, if I try to delete a shortcut using the following command -:
...Windows sees this folder as empty and doesn't delete the file.
The environment variable "allusersprofile" points to "C:\ProgramData" however "Desktop" is actually a soft symbolic link to the C:\Users\Public\Desktop folder.
The problem seems to be that these soft links are simply Window Explorer shortcuts and are not recognized by cmd prompts or batch files.
The only solution that I can see is to do the following -:
Is there any common solution for both OSes?