Copy a file from the server to clients using batch file

I want to copy a program file from the server to all the clients every time the user logins into a system in windows 2000. I made a batch file and load into the script. it is not working. kindly help
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

qamar_mAuthor Commented:
If its a log-on script your looking for on win NT 4.0 server, then this may help

 Windows NT4 Domain
Logon Script


When loging on to an NT Domain:

a Logon-script (if defined, see below) could be executed.

A Logon-script is a BATCH-file, which is stored (usually) on the NT4-Domain server and which is executed on logging on to the Domain.
Any command, which can be executed in a Windows95/98 DOS-box or
NT4-Command-prompt Window, can be defined in the Logon-script.

 The Windows NT Domain Server defines
a default Share to handle the Logon-Scripts.

In the Control-Panel, use the "Server"-applet
to check on the predefined "Shares".
You have a Share called "NETLOGIN",
defined for the directory:
 By default, this directory is shared for
"Everybody" (=everybody with a username defined in the domain) with "Read"

In this directory, the Administrator
places the Logon-Script Files
(= BATCH-files) and (optional)
other files to be accessible for all users.

you (if you are the Administrator and
have Write-Access to NETLOGON) like
to show to all users a message during
the Logon, advising them about important
issues (like: a downtime of the server).

You can place the Info.file in the
NETLOGON-directory and define in the
Logon-Script to display the file (using
NOTEPAD), if the files is existing.

(the START-command for NOTEPAD in the INFO.BAT file is required to ensure, that the LOGON-script continues to process. Without the START-command, the LOGON-script will stop, until NOTEPAD is closed)

Then, you need to define in the "Domain User-Manager" for all the users
to process the Logon-script, defined as part of the "User Environment Profile":

no need to define any path for the Logon-script, as long as it is stored
in the NETLOGON-share.

When these users now logon to the Domain, NOTEPAD will pop-up,
displaying the message.

Often, the Logon-Script is used to map automatically network-drives,
like to the User's Home-Directory, using environment variables defined by the Logon-process:

As a result of the above Logon-Script, a message is displayed
(using NOTEPAD) and 2 network drives are mapped, where drive H:
is the user's Home-Directory:

The Logon-script is often used to synchronize the system-clock of the
systems with the clock of the server, using the "NET TIME"-command:

Contact us Java scripting and cookie storage required for proper display of these pages.
Identical mirror sites : / / 
World of Windows Networking is in no way affiliated with Microsoft Corp.
Copyright © 2002. All rights reserved

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
What OS are you using?
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: Huseyin1 {http:#8223848}

Please leave any comments here within the next seven days.

Julian Crawford
EE Cleanup Volunteer
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.