Page 1 of 1 1
Topic Options
#5102 - 2000-11-14 11:05 PM @LDRIVE followed by \ or not?
Anonymous
Unregistered


Hi,

Just a small question, no logonserver at hand so I can't test it myself...
I need to CALL another script wich can be found in a subdir on @LDRIVE.
When CALLing it do I need to use a \ or not?

code:
CALL @LDRIVE + "DIVERS\CLEANUP.KIX"


Or
code:
CALL @LDRIVE + "\DIVERS\CLEANUP.KIX"


What's best?

Thanks!
Wam.

Top
#5103 - 2000-11-15 08:21 AM Re: @LDRIVE followed by \ or not?
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Wam:

tested it and it worked with both variants ..

J.

_________________________



Top
#5104 - 2000-11-15 03:54 PM Re: @LDRIVE followed by \ or not?
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
a ? @ldrive got the following for me.

\\server\netlogon\

I am running Win2k

Bryce

Top
#5105 - 2000-11-29 11:16 PM Re: @LDRIVE followed by \ or not?
Anonymous
Unregistered


I had this problem as well, since it seemed that Windows 9x systems didn't have the final "\" in the @LDRIVE macro but NT & Win2k systems do include the slash, I just added it to the variable for those systems.

$OS = @INWIN ; REM Determine OS: 2 = 9x, 1 = NT
$NetLogon = @LDRIVE ; ** Authenticating Domain Controller's Netlogon share path
If $OS = 2
$NetLogon = $NetLogon + "\"
ELSE
ENDIF



Top
#5106 - 2000-12-08 09:01 PM Re: @LDRIVE followed by \ or not?
Anonymous
Unregistered


I agree with CHELGET, the slash does not appear for Windows 9x.

I just leave the slash in for all OS's and it works just fine.

------------------
Jesse
------------------
For more scripting help and examples, click here.

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 302 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

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