Novell Home

Executing batch files

Novell Cool Solutions: Question & Answer

Posted: 21 Dec 2005

Q:
It is possible to use copy files via a batch file? We would like to push out a new version of an .exe file to users' hard drives via a login script.

A:
Yes, you can execute a batch file from the login script. Use something like this:

#\\server\data\filecopy.bat
or
@\\server\data\filecopy.bat

The difference between the # and the @ is that when you use # the login script will wait till the command has completed before continuing. The @ runs 'disconnected' from the login script. The login script will continue while the batch file runs.

Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

Novell® Making IT Work As One

© 2008 Novell, Inc. All Rights Reserved.