While running copy.bat file a message "Access is denied" appears for the target directory C:\Program Files (x86)\SmartPlant\Foundation\Icons.
C:\Program Files (x86)\SmartPlant\SPX\Project Execution\STs\SPO Project Execution (SPO_ProjExec)>ECHO OFF
"USAGE: SPLSCopyIcons.bat [targetDirectory]"
If targetDirectory is not specified, icons are copied to "C:\Program Files (x86)\SmartPlant\Foundation\Icons"
Copying files to"C:\Program Files (x86)\SmartPlant\Foundation\Icons"
""C:\Program Files (x86)\SmartPlant\SPX\Project Execution\STs\SPO Project Execution (SPO_ProjExec)>copy "..\..\BPs\CHG\Configuration\Icons\*.*" "C:\Program Files\SmartPlant\Foundation\Icons"
..\..\BPs\CHG\Configuration\Icons\SPXCHGClass.gif
..\..\BPs\CHG\Configuration\Icons\SPXVariationOrderRequest.gif
Access is denied.
0 file(s) copied.
Right click on folder Icons > properties > uncheck readonly > apply > choose option. Apply changes to this folder, sub folder and files > OK > OK.