On Tue, May 20, 2008 at 01:30:34PM -0700, kevin enlightened us:
> I've modified my shortcut.pl so that if you supply a description it will
> name the shortcut the description and not just based on the filename.  I
> think this would be helpful to others who might use this and to me it would
> be more intuitive.  I was frustrated for about 10 minutes trying to figure
> out why the shortcuts to some mapped drives I was trying to create weren't
> named anything.  (i.e  *shortcut.pl --description "Image Drive" I:\
> special:AllUsersDesktop *will create an un-named shortcut on the All Users
> desktop to I:\, completely ignoring the --description parameter)
> 
> Here are my changes. I don't know if I used the right options with diff to
> get the output you want.  I've also attached the diff.
> 

I think what you really want is

shortcut.pl --description "Image Drive" I: "special:AllUsersDesktop\Image 
Drive.lnk"

The description is for the tooltip, not the name of the file.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to