Page 1 of 1 1
Topic Options
#78150 - 2001-07-23 04:29 PM Bug with USE in Kixtart 3.63 and 4.0 RC1
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I think I found a bug in the USE command but I'm not sure wheter it's Kixtart or Windows 95 responsible for it.

Here's the situation. I have a Windows 95 machine with a shared folder \\COMP\SHARE. I'm running a Kixtart login script from a DC (either 3.63 or 4.0 RC1) that maps various shares on Windows NT and 95 computers. The script works perfectly for all mapping except when I'm logging into the Windows 95 computer with the shared folder. Then, the USE command gives me an error 67 when it tries to create a drive mapping to its own shared folder. After the login, I have no problem mapping the drive manually but the Kixtart script fails.

Jens

_________________________
There are two types of vessels, submarines and targets.

Top
#78151 - 2001-07-24 08:40 AM Re: Bug with USE in Kixtart 3.63 and 4.0 RC1
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Just came to my mind that neither does printer mapping (i.e. addprinterconnection) work to your own machine...
_________________________
!

download KiXnet

Top
#78152 - 2001-07-24 11:32 AM Re: Bug with USE in Kixtart 3.63 and 4.0 RC1
Alex.H Offline
Seasoned Scripter

Registered: 2001-04-10
Posts: 406
Loc: France
Add this to your script, instead of the USE DIR \\COMP\SHARE :
code:

$NetUSeToDoDir="\\Comp\Share"
$NetUSeToDoDrive="P:"

If instr($NetUSeToDo,@WKSTA)>0
;you can do a subst, if you really need it, but i'm not sure it'll work on share dir.
;If you do a subst, remember to do a "subst drive /delete" before the "subst Drive Directory"
else
USE $NetUSeToDoDrive /DELETE /PERSISTENT
USE $NetUSeToDoDrive $NetUSeToDoDir
endif



Et voilą
_________________________
? getobject(Kixtart.org.Signature)

Top
#78153 - 2001-08-02 03:49 PM Re: Bug with USE in Kixtart 3.63 and 4.0 RC1
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
I run some more tests on Windows 95 computers that have shared printers or drives. Indeed, Windows 95 itself does not support the mapping of a drive letter to its own shared drive. The same apparently applies for printers. Windows 95 even has its own error code for this.

Microsoft is weird ;-)

Jens

_________________________
There are two types of vessels, submarines and targets.

Top
Page 1 of 1 1


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

Who's Online
0 registered and 823 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

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