Page 1 of 1 1
Topic Options
#46417 - 2003-10-08 10:55 AM htm file
Anonymous
Unregistered


hi

a maybe stupid prob. I want to start explorer with a htm page but shell "mypage.htm" doesn't work and i don't want to put the program name in the script....Curiously in a command window mypage.htm works fine and opens the explorer with the page. whats wrong ?

thanks for the help

Top
#46418 - 2003-10-08 11:34 AM Re: htm file
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1342
Loc: NL
"iexplore www.centric.nl"

[ 08. October 2003, 11:36: Message edited by: Co ]
_________________________
Co


Top
#46419 - 2003-10-08 03:57 PM Re: htm file
Anonymous
Unregistered


thank you co but that's just whet i want to avoid : giving the name of the eplorer...and the path of the prog.... i need a way to start the default explorer with the page.

thank you anyway

Top
#46420 - 2003-10-08 05:33 PM Re: htm file
AzzerShaw Offline
Seasoned Scripter
****

Registered: 2003-02-20
Posts: 510
Loc: Cheltenham, England
What OS are you using ?

try this.....

In the following dir on all your clients you should have a file called Hosts in the below location :

\\$Pcname\%SystemRoot%\system32\drivers\etc\hosts

In there you can give another name to your web address. I would try that approach....

You would need to make sure that entry is there everytime mind....

Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields

Top
#46421 - 2003-10-08 05:39 PM Re: htm file
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
You might need to provide the complete URL, e.g.
code:
shell 'www.server.com\mypage.htm'

or any other valid URL.
_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 460 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.053 seconds in which 0.023 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org