[windows2000] Re: \\netlogon invalid current path

  • From: "Joe Shonk" <JShonk@xxxxxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 29 Oct 2002 10:18:53 -0800

???  You should be able to execute .bat and .cmd files when logging on.  =
Are you referencing the \\servername\netlogon in your script?  if so, =
use %0 variable instead to reference other files in that directory.

ie:
call %0\mapdrv.bat
or
call \\%logonserver%\netlogon\mapdrv.bat
Joe

-----Original Message-----
From: Costanzo, Ray [mailto:rcostanzo@xxxxxxxxxxx]
Sent: Tuesday, October 29, 2002 10:23 AM
To: windows2000@xxxxxxxxxxxxx
Subject: [windows2000] \\netlogon invalid current path



Hi list,

I think I asked this before like a year ago, but I don't remember what
the solution was.  Forgive me!  Every logon script (.bat) that runs for
our users displays this message first:

'\\SERVERNAME\netlogon' is an invalid current directory path.  UNC paths
are not supported.

Okay, I understand why it's saything since you can't open cmd.exe at a
UNC path, but it seems odd that this warning would appear.  Is there a
way I can tell Windows "this is a logon script from netlogon, so don't
expect to be open at a non-UNC path" other than by mapping a drive to
netlogon for everyone?

Thanks a lot,

Ray at work


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

==================================
To Unsubscribe, set digest or vacation
mode or view archives use the below link.

http://thethin.net/win2000list.cfm

Other related posts: