--- In [EMAIL PROTECTED], Alex Peters <[EMAIL PROTECTED]> wrote:
>> I have used this code:
> 
> File.CreateShortcut("\"" ++ Win.EXEPath("=PowerPro") ++ "\" 
*Script Quit (.&(ScriptName)(\"Transfer\"))", Env("UserProfile") 
++ "\\Desktop\\Transfer P2P Downloads.lnk")
> 
> which should create a `Transfer P2P Downloads' link on my desktop 
that
> will run precisely this command:
> 
> "C:\Program Files\PowerPro\PowerPro.exe" *Script Quit 
(.MonitorP2PDownloads("Transfer"))


The File.Shortcut service does not support short cuts to command 
lines, only to files.  In fact, if you want to support command 
lines, you have to specify the arguments part of the command line 
separately from the target file in the windows system shortcut api;  
I'll revise file.shortcut to do this in the next (should be last) rc.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

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/
 

Reply via email to