--- In [email protected], "Ted Wall" <[EMAIL PROTECTED]> wrote: > > -------------- Context.PowerPro ---------------------------- > > @MoveFolder > > Be careful when using a File.move or delete operation from PowerPro's > context menu. You have to remember to never use this function to move > or delete a *.lnk file (often called a shortcut). > > If you accidentially select a *.lnk file, Window's gives PowerPro the > Target for a *.lnk file; and PowerPro will move or delete the target > of the *.lnk and not the actual *.lnk you expected/selected. (The > target of lnks are often programnames.) > > To test this: write a Copy.Set(filename) context menu item and select > a *.lnk filename (a shortcut). > > A possible way to minimize this error is to check if: > > Folder.name(filename)==currentdir > > But even the above check isn't fool proof if the *.lnk's target is in > same directory as the explorer's currentdir. > > Using SendTo and ppBangTwice is a method for getting around this, but > is limited to Window's commandline length. > > This is IMHO, a Window's design error and not a PowerPro design > error. (FYI: *.URL shortcuts are handled properly by Windows.) >
This has been already discussed several times in this group. For example: http://groups.yahoo.com/group/power-pro/message/18377 There are two long threads, probably a few more short threads: "Context menu for shortcut files in Windows XP" "Context menu items for *.lnk files?" Sean ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hh9mm9k/M=362329.6886308.7839368.1510227/D=groups/S=1706030409:TM/Y=YAHOO/EXP=1123952915/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> Attention: PowerPro's Web site has moved: http://www.ppro.org Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/power-pro/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
