Page 1 of 1 1
Topic Options
#8110 - 2001-04-13 07:18 PM Using Kixtart for Multiple OS
Anonymous
Unregistered


Hi Everyone,
I'm working in a MS DOS 6.2, Windows 3.1x, Windows 95, and Windows NT environment. Sofar my script only work for the Windows 95 users. I get an error when I run it on my NT machines(it stop when the winset.exe is processing) and it doesn't run on the dos machines.
I have all the required file for kixtart and the winset.exe from Win 95.
First of all I wanted to know how can I get the script to work for all my environments since many commands are not cross platform compliant.

Here is part of my script after doing the regular setup for kixtart and all the necessary files are at the /NETLOGON in Win NT

IF INGOUP("ANA")
USE K: "\\NY-APP01\PROJ"
SHELL "WINSET.EXE PATH=%PATH%;N:\UTIL;N:\APPS;S:\UTIL"
SHELL "WINSET.EXE INCLUDE=K:\CLIPP\INCLUDE"
SHELL "WINSET.EXE BIN=S:\CLIPP\BIN"
SHELL "WINSET.EXE LIB=S:\CLIPP\LIB"
SHELL "WINSET.EXE OBJ=S:\CLIPP\OBJ"
ENDIF

EXIT


LET ME KNOW IF THERE ANY SUGGESTION HOW TO GET THAT SAMPLE SCRIPT ABOVE TO WORK IN DOS AND WINDOWS NT

SPIER


Top
#8111 - 2001-04-14 07:46 PM Re: Using Kixtart for Multiple OS
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
Winset is only for W9x
use Setx for Win NTx (4 & 2k) from Ressource Kit
and use for dos/win3.1 the SET command

User someting like that before :

code:

Select
case @INWIN=1 ; 1 for NTx , 2 for 9x/ME
$Setcomm=Setx
case @INWIN=2
$Setcomm=winset
case 1
$Setcomm=set
endselect

SHELL "$Setcomm ...


Idea is here, and errors too

[This message has been edited by Popovk (edited 14 April 2001).]

_________________________
? getobject(Kixtart.org.Signature)

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 1017 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.075 seconds in which 0.049 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