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)