Computing.Net > Forums > Windows NT > Batch files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch files

Reply to Message Icon

Name: Steve
Date: March 2, 2002 at 09:04:35 Pacific
Comment:

I am replicating batch files (logon scripts) from PDC to BDC.I want to identify which server is performing the validation.Here is what i have so far...
echo The validating server is %COMPUTERNAME%
I want this information to appear in the dos box on the win98 client.
I think the %COMPUTERNAME% variable is wrong.Can anyone help please?

Thanks all.



Sponsored Link
Ads by Google

Response Number 1
Name: garreth
Date: March 2, 2002 at 15:58:17 Pacific
Reply:

Hummm
%computername% variable is a good one ,that's for sure.not sure is the one you need ,do you get an error? is the scrip returning the client name instead of the Server name? check Microsoft web site for available variables.might be just a glitch here.

Cheers.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Batch files

check disk usage in batch file www.computing.net/answers/windows-nt/check-disk-usage-in-batch-file/21855.html

Batch file as a NT service www.computing.net/answers/windows-nt/batch-file-as-a-nt-service/3246.html

Batch File Problem www.computing.net/answers/windows-nt/batch-file-problem/21766.html