Quote:
Originally Posted by sebo
i am getting unsuccessful error when trying to move a .lnk from one directory to another, says due to permissions.. so i checked the MS site and it says use "RemoveAttributes" the .lnk is a system file so i added "S" and "H" (just in case it's hidden).
Code:
<characteristic type="FileOperation">
<characteristic type="\Windows\Start Menu\Programs\E-mail.lnk">
<characteristic type="Move">
<parm name="Source" value="\Windows\Start Menu\Programs\Messaging\E-mail.lnk" translation="install" />
<parm name="RemoveAttributes" value="H" />
<parm name="RemoveAttributes" value="S" />
</characteristic>
</characteristic>
</characteristic>
also tried one line for attributes:
Code:
<parm name="RemoveAttributes" value="S,H" />
same issue..
edit: actually i can delete the .lnk file but mysteriously i can't move or copy it from start menu\programs to start menu\programs\messaging, strange..
|
Try deleting and recreating it as a workaround.