All scripts for user commands which should appear in sub-menue "Machine/User Commands" must be located in directory UserCmd.
So far so good.
During work on my own user commands I noticed a strange behavior of files which get copied to this directory.
It seems not to be possible to overwrite an existing file with a file that has the same name, e.g. when transferring updated file-versions between the PC in the office and the control unit in the shop.
A file with same name can never be copied to this directory again. After restart of PlanetCNC the content of the file will always be reset to the previous state.
The only known workaround is to change the name of the newest file version, before copying it to the UserCmd-directory.
Can anybody explain what is the reason for this behavior and if there is a way to overcome it?