Page 1 of 1 1
Topic Options
#77608 - 2001-04-14 09:53 AM New To This Stuff
Anonymous
Unregistered


Can somebody help me with this stuff. I am new to this thing.

*** here is my login.bat ***

@Echo off

:NTOS
\\fs\NETOLOGON\kix32.exe \\fs\NETLOGON\LOGIN.SCR

***** here is my login.scr *****

$Drive="T"
$Share=\\fs\songs"

? " Mapping drive $Drive to $Share"
Use " $Drive: " /Delete
Use " $Drive: " $Share
If @Error = 0
? " Map Successful"
Else
? "Error mapping drive $Drive to $Share"
Endif


I have downloaded the Kixtart95 files and put them all into the Windows 2000 Server (PDC) "NETLOGON" . How should I save my script?? Is it with the extension Login.scr (Text).

Thank,
tony

Top
#77609 - 2001-04-17 04:05 PM Re: New To This Stuff
Anonymous
Unregistered


Hey Tractng,

why dont you just do this:

code:

use u: "\\server\share"

it works

------------------
Cheers....

David

Top
#77610 - 2001-04-17 06:05 PM Re: New To This Stuff
cj Offline
MM club member
*****

Registered: 2000-04-06
Posts: 1102
Loc: Brisbane, Australia
TBH, if you are only going to be mapping drives, I would dispense with KiX and stick to .BAT. Much quicker.

I would only call KiX in for special stuff like Registry, File I/O and fancy screen colours.


cj

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 593 anonymous users online.
Newest Members
min_seow, Audio, Hoschi, Comet, rrosell
17881 Registered Users

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