Page 1 of 1 1
Topic Options
#2406 - 2000-04-05 11:40 AM %0%\..\
Manimal Offline
Getting the hang of it

Registered: 2000-04-04
Posts: 96
Loc: Oregon City, OR. USA
The Batch file successfully runs kix32 and the script file when using the following syntax:

"%0%\..\kix32.exe map.kix"


I've seen it posted that

"%0%\..\kix32.exe %0%\..\map.kix"

is a better way to go except that when I run it I get the following error:

"This file does not have a program associated with it for performing this action. Create an association [blahblahblah]."

It doesn't seem to matter whether the file is .kix or .txt.

I'm hoping this is another easy one...

------------------
Chris Fricke
Clackamas County

_________________________
Chris Fricke
Clackamas County

Top
#2407 - 2000-04-05 11:57 AM Re: %0%\..\
Manimal Offline
Getting the hang of it

Registered: 2000-04-04
Posts: 96
Loc: Oregon City, OR. USA
as an update -

When I make the .kix a .txt it opens the file as if I were going to edit it...

In other words... it seems the .bat file login script is trying to execute the script file directly rather than kix32.exe

If I do:
call %0%\..\kix32.exe %0%\..\testkix.txt
or
start %0%\..\kix32.exe %0%\..\testkix.txt
I get the same results

_________________________
Chris Fricke
Clackamas County

Top
#2408 - 2000-04-05 01:13 PM Re: %0%\..\
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
it should be like this.

%0\..\kix32.exe %0\..\logon.KIX

Bryce

Top
#2409 - 2000-04-05 01:47 PM Re: %0%\..\
Manimal Offline
Getting the hang of it

Registered: 2000-04-04
Posts: 96
Loc: Oregon City, OR. USA
DUH

thanks a bunch - works like a champ

_________________________
Chris Fricke
Clackamas County

Top
#2410 - 2000-04-26 12:06 AM Re: %0%\..\
Anonymous
Unregistered


Hey this fixed my problem also: I was using the "%0\..\kix32.exe logon.kix" format as well, it works fine, if you have administrative rights, but when another user trys to login via our WinFrame 1.7 server, the system says that there was an error opening the file. I switched to the "%0\..\kix32.exe %0\..\logon.kix" and it works!!! Thank you .

Top
#2411 - 2001-05-01 09:46 PM Re: %0%\..\
Anonymous
Unregistered


On our network the only way we could get it to work (you'll love this) is to use %0/../ instead of %0\..\

%windir%\kix32 %0/../logon.scr


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 837 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.05 seconds in which 0.021 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