|
 |
asp_discuss thread: How to create internetshortcut ???
Message #1 by "Madhankumar" <madan@l...> on Mon, 10 Dec 2001 10:53:30
|
|
Hi
I have a problem with adding a file of type "InternetShortcut"
to the favorites folder of the client system.I have used "CreateFile
(filename.htm)" method,which gives me htm file.But i want file of
type "internetshortcut".
Can u kindly suggest me any option to overcome this problem.
With regards
Madhan
Message #2 by "Robert Segarra" <robert_segarra@h...> on Mon, 10 Dec 2001 11:51:39 -0600
|
|
Try this,
Dim oShell, oURL
Set oShell = CreateObject("WScript.Shell")
Set oURL = oShell.CreateShortcut("C:windows\Favorites\robert.URL")
oURL.TargetPath = "http://www.thisapath.com"
oURL.Save
Robert
>From: "Madhankumar" <madan@l...>
>Reply-To: "asp_discuss" <asp_discuss@p...>
>To: "asp_discuss" <asp_discuss@p...>
>Subject: [asp_discuss] How to create internetshortcut ???
>Date: Mon, 10 Dec 2001 10:53:30
>
> Hi
> I have a problem with adding a file of type "InternetShortcut"
>to the favorites folder of the client system.I have used "CreateFile
>(filename.htm)" method,which gives me htm file.But i want file of
>type "internetshortcut".
> Can u kindly suggest me any option to overcome this problem.
> With regards
> Madhan
>
>$subst('Email.Unsub').
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Message #3 by "Madhankumar" <madan@l...> on Mon, 17 Dec 2001 06:50:59
|
|
> Try this,
>
> Dim oShell, oURL
> Set oShell = CreateObject("WScript.Shell")
>
> Set oURL = oShell.CreateShortcut("C:windows\Favorites\robert.URL")
> oURL.TargetPath = "http://www.thisapath.com"
> oURL.Save
>
> Robert
>
>
> >From: "Madhankumar" <madan@l...>
> >Reply-To: "asp_discuss" <asp_discuss@p...>
> >To: "asp_discuss" <asp_discuss@p...>
> >Subject: [asp_discuss] How to create internetshortcut ???
> >Date: Mon, 10 Dec 2001 10:53:30
> >
> > Hi
> > I have a problem with adding a file of type "InternetShortcut"
> >to the favorites folder of the client system.I have used "CreateFile
> >(filename.htm)" method,which gives me htm file.But i want file of
> >type "internetshortcut".
> > Can u kindly suggest me any option to overcome this problem.
> > With regards
> > Madhan
> >
> >$subst('Email.Unsub').
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at
http://explorer.msn.com/intl.asp
>
Hi
Dim oShell, oURL
Set oShell = CreateObject("WScript.Shell")
Set oURL = oShell.CreateShortcut("C:windows\Favorites\robert.URL")
oURL.TargetPath = "http://www.thisapath.com"
oURL.Save
This works only for folder of type "Shell Script Folder",but i want
for "Folder Type".
Madhan
|
|
 |