Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch File to Replace a file for all users on terminal server

Status
Not open for further replies.

rickism21

IS-IT--Management
Oct 10, 2013
17
US
Hello,

I need help with script that I can run as a batch file that would replace a certain file in the user folder for all users on a terminal server. This file contains settings I needed everyone to have. See my attempt below.

@echo off

XCOPY "C:\Documents and Settings\admin\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol"

"C:\Documents and Settings\%username%\Application Data\Macromedia\Flash Player\macromedia.com\support\flashplayer\sys\settings.sol" /y /f /e

End
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top