FILE command for Rename file

FILE command for Rename file

To rename a file on the SD card use the FILE "REN " function.  It was not documented in the Help with Motion Perfect 5.2 but will be included in the MP version 5.3 release.

Typical syntax is FILE "REN" "test_file.txt" "test.txt"
    • Related Articles

    • Loading encrypted project from SD card

      This is the content for the SD card TRIOINIT.BAS ' *** ' SD Card decryption demo. ' Prepared by Trio Motion Technology Ltd. ' ' *** PROJECT_KEY "O5/A6qXkaXc" FILE "LOAD_PROJECT" "training ecr1" Replace the key above with yours and use your project ...
    • Recovery SD card file name

      When recovery of a Motion Coordinator with the recovery boot system, a special file name is used for the firmware file on the SD card. Go to the Trio website www.triomotion.com, log in and go to the Software->All Firmware page.  Select the firmware ...
    • How to recover the controller if the program is corrupt

      Sometimes when the program is corrupted on the controller, there will be some errors thrown up such as: 1. Error Number 93, Program Corrupt 2. E06 Watchdog Trip error Resetting the controller back to default can recover this fault. To do that, you ...
    • AN-408 Using SD card to change IP Address

      This document explains how to change the IP address, subnet mask and default gateway by using a SD card or micro SD card on Trio Motion Coordinator
    • Moving CAM CSV/Text File to TABLE or VR's location

      The example attached is a Trio basic program that will extract the numerical values of each text file line and move the values into a TABLE or VR array. The program moves the data from the controllers on board memory but can be adjusted to move data ...