|
Jooel I did not see the need to use your code as I already know the outcome.
Thanks Les, I've read that area before, but unfortunately with group polices the UNC path would look something like this.
\\testrdc\sysvol\microsoft.com\Policies\{083BF3F8-E2AA-4EE8-821F-877B91B0C7D3}\User\Scripts\Logon
Plus I'd have to modify the batch file every single time I use it in a new GPO because the UNC path would change.
The fact that it looks at the netlogon first before looking anywhere else seems like a downfall more than a positive thing. It should be looking at the netlogon last if anything. Your current directory should always be the first place it looks. That's a given in almost all command line processing. Imagine if the command prompt looked at your path statements for the file you specify before it looked in the current directory. Not very intuitive.
|