Page 1 of 1 1
Topic Options
#30709 - 2002-10-16 12:09 AM File for KIXPOP
S/370 Offline
Fresh Scripter

Registered: 2002-09-21
Posts: 8
Loc: MA
I want to test the existence of a html file and if it present, use KIXPOP ( Great tool ) to display it as motd. I don't want this file to be in the Netlogon share, but rather on another server and I do not want to permently map a drive to it. My question is do I have to do USE "driveletter" to the \\server\share\file, KIXPOP that file, then do a USE delete that file to remove it. If have had some problems using just the \\server\share\file in KIXPOP. I have mostly XP and a few 98 clients on 2000 servers.
Top
#30710 - 2002-10-16 12:15 AM Re: File for KIXPOP
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
Have you tried using the fully qualified url version ?

kixwin file:\\server\share\motd.htm

-Shawn

Top
#30711 - 2002-10-16 12:23 AM Re: File for KIXPOP
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, for win9x you only need to map the drive.

doing simple exist("\\server\share\dir\file")

will do for existence check.
_________________________
!

download KiXnet

Top
#30712 - 2002-10-16 03:29 AM Re: File for KIXPOP
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I don't think you have to map any drive. Just try the UNC as Shawn suggested.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#30713 - 2002-10-17 10:54 PM Re: File for KIXPOP
S/370 Offline
Fresh Scripter

Registered: 2002-09-21
Posts: 8
Loc: MA
The Exist and KIXPOP now work ok. I think my problem was in how quotes work and I left a space after file: what I have now is...
If Exist ("\\server\News\motd.htm")
break on
shell '%comspec% /c kixwin.exe file:"\\server\News\motd.htm" "" "HELP:NO"'
Endif
Should I add @ldrive in front of Kixwin or will it assume it is in the Netlogon share.
And thanks to all of you for your help.

Top
#30714 - 2002-10-17 11:13 PM Re: File for KIXPOP
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
See Proper use of quotes
_________________________
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 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 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