Thread: Cab Making
View Single Post
  #25 (permalink)  
Old 04-12-2010, 06:24 PM
codybear's Avatar
codybear
VIP Member
Offline
Location: Arizona
 
Join Date: Dec 2008
Posts: 1,863
Reputation: 2145
codybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

Quote:
Originally Posted by sebo View Post
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.
__________________
I spend most of my time at MobileUnderground.
(Now offering free FTP space to Developers & ROM Chefs willing to support their product at M.U. - Exclusivity not required! Also the home of the original Chefs' Corner, Cab Central, and more!)
My wm6.5 Vogue FAQ (Soon to be at M.U.)
Reply With Quote