Displaying 2 results from an estimated 2 matches for "win2kend".
2001 Dec 03
5
Problem with logon script
Hi,
I have a problem with logon script.
I will at first disconnect all connected drives from last Windows run, and
the connect home dir.
My smb.conf :
[Global]
logon script = STARTUP.BAT
logon drive = m:
logon home = \\sapo\%U
logon path = \\sapo\%U\setting\%m\profile
domain logons = Yes
[homes]
comment = Home Directories
read only = No
2002 Aug 12
5
Why does this logon-script not work under Win9x ?
...t; nul
@net use u: \\%Server%\homepages > nul
@net use w: \\%Server%\fax > nul
@net use x: \\%Server%\data > nul
@if "%USEROFCURRENTSERVICE%" == "administrator" goto root
REM @if "%USEROFCURRENTSERVICE%" == "Administrator" goto root
:win2kend
@goto end
REM -----------------------------------------
REM ----------Win9x--------------------------
:win95
echo In Win95
@NET TIME \\%Server% /SET /YES
@net use /HOME >>c:\netuse.txt
@net use u: \\%Server%\homepages
@net use w: \\%Server%\fax
@net use x: \\%Server%\data
@if "%USERO...