Back

Topic

[KB655]Broadcasting of User.dat

Tags: Scada Basic, Scripting

12 years ago
By ACHT
Options
Print
Applies to:

PcVue all versions.


Summary:

This article explains how to broadcast the User.dat file (user configuration) within a multi station application. It is a complement to the other article Broadcasting the user configuration in a multi-station architecture


Details:

With operating systems prior to Windows 7 a simple batch file, with the following instruction, was sufficient to broadcast the User.dat file.copy /y

  • The parameter /y means overwrite the existing file

From Windows 7 onwards, because of user rights and the security and file protection system, this is no longer possible. Microsoft recommends using a new instruction called Robocopy.

The instruction is described below.

Robocopy /XO /copy:DAT

  • The parameter /XO is used to not copy if the source file is older than the destination file. (XO = Exclude Old)
  • The parameter /copy:DAT used to specify the properties of the file to copy. (DAT = Data, Attributes and Timestamp.)

For further information search the internet, in particular the Microsoft Docs website, for the term Robocopy


Created on: 10 Jul 2013 Last update: 31 Mar 2025