Page 1 of 1 1
Topic Options
#1914 - 2000-03-07 11:27 AM Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


my Win98 clients won't run the "USE" command in IF statements.
No mapping is present after logon.
I use a batchfile for logon (%0\..\Kix32.exe Logon.kix)
all dlls etc are in my logon directory.(have also tried them in the windows dir locally)
kxrpc is running on PDC & BDC's.
MSNET32 is updated.
"IF" statements are based on Global groups with names no longer than 8 characters.
Kix version = 3.62
Clients are mapping with the ($Drive;$Share;$SrvList.) statments but not with USE.

HELP !!!

Top
#1915 - 2000-03-07 11:37 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


please post a sample script ---that would be helpful
Top
#1916 - 2000-03-08 02:42 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


Here is a small sample of the script
the funny thing is that the first three mappings work perfectly, but the use command (to a member server incidentally) dose not. The script works perfectly for NT clients.

Also, if I am already logged on and I manually run my logon batch file by double clicking it in the netlogon dir, hey presto all the mappings suddenly appear.


if ingroup("group1")=1 ;Test if user is Group1
$Drive = "V:"
$Share = "\dept1"
$SrvList = "01"
GOSUB "Connect"

$Drive = "W:"
$Share = "\dept2"
$SrvList = "01"
GOSUB "Connect"

$Drive = "Y:"
$Share = "\dept3"
$SrvList = "00"
GOSUB "Connect"

USE Z: "\\server2\drivers$"
ENDIF

Top
#1917 - 2000-03-08 05:35 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


I bet if you change the z: to another letter it will work. Win9x uses the z: during logon. That's why it will work after you are logged on.

Hope this helps,
Bonk

Top
#1918 - 2000-03-09 02:12 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


My problem with the USE "Z:" seems to be remedied, but now my Win98 clients won't map to (USE X: "\\server00\@userid" + $)see under.
I'm thinking, could it be a problem that it's the last drive beening used (eg first a problem with Z then with X). I will try a dummy mapping to "z" and get back to you.
If anyone has a suggestion in the meantime, please advise.

IF INGROUP ("HOMELESS")=1
$Drive = "X:"
$Share = "\Home" ; Home dirs
$SrvList = "00"
GOSUB "Connect"
ELSE
USE X: "\\server00\@userid" + $
ENDIF

Top
#1919 - 2000-03-09 03:36 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


Hi

Here's our hidden user dir share mapping and it works fine.

$drive="\\server\"+@userid+chr(36)
USE X: $drive

Good luck.
Rgds

------------------
Don Davidson
Network Engineer
http://www.insight-media.co.uk


Top
#1920 - 2000-03-09 04:57 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


Did you make sure that all the necessary dll's are on the NETLOGON share? I have similar problem like this before. Perhaps this will help.BB

Bao

Top
#1921 - 2000-03-09 04:57 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


Did you make sure that all the necessary dll's are on the NETLOGON share? I have similar problem like this before. Perhaps this will help.BB

Bao

Top
#1922 - 2000-03-10 04:05 AM Re: Win98 clients won't run "USE" in IF statements
Anonymous
Unregistered


Thankyou all,
With your help, it's sorted.
Paul

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
1 registered (Allen) and 1047 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.06 seconds in which 0.031 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