[windows2000] Re: \\netlogon invalid current path

  • From: "Costanzo, Ray" <rcostanzo@xxxxxxxxxxx>
  • To: <windows2000@xxxxxxxxxxxxx>
  • Date: Tue, 29 Oct 2002 13:25:38 -0500

Yeah, I agree that I should be able to.  Doesn't make sense to me!
Here's a simple test.bat file:

Set ROOTDRIVE=3D%windir:~0,2%

And the results:

'\\SERVERNAME\netlogon' is an invalid current directory path.  UNC paths
are n
ot supported.
Defaulting to Windows directory.


C:\WINNT>echo C:

Press any key to continue . . .

wtf?  (Okay, okay, I'll confess.  This is a Windows NT machine....)

> -----Original Message-----
> From: Joe Shonk [mailto:JShonk@xxxxxxxxxxxxxx]=20
> ???  You should be able to execute .bat and .cmd files when=20
> logging on.  =3D
> Are you referencing the \\servername\netlogon in your script?=20
>  if so, =3D
> 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]
> 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)=20
> 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.


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


Other related posts: