• 27 Dec

    Execute a command line tool after processing multiple files successfully

    Q: Howto execute a command line tool after processing multiple files successfully. I have a rule that moves 1 or more files and starts a uses the command option After copy/move/delete success to run an executable. I could get 1 file or I could get more every day. If I receive 1 file everything is good but if I receive more than 1 file then the rule is trying to process all the files individually where I need it to run the exe after all files are moved. Is there a setting to move all the files then run the exe, I think I’ve had this issue before but I just can’t remember how I fixed it.

    A: We added a new option in version v2021.12.26.0 to achieve this.

    Command, On Rule End Execute Condition option (v2021.12.26.0) [+]

    In your case we should not use ‘After copy/move/delete success’ because this is triggered for each file. Instead, select and enable the ‘On Rule End’ Command instead AND with ‘On Rule End’ selected do enable the ‘All files successful’ Execute Condition option in the Advanced Tab.

    Limagito File Mover Execute Command Condition


    If you need any info about this ‘after processing multiple files’ question, please let us know.

    Best regards,

    Limagito Team

    By Limagito-Team Command , , ,
  • 11 May

    How-To use a Command Line tool as Source in LimagitoX File Mover

    In this how-to we’ll explain you how-to use a command line tool, aka CMD, as source in LimagitoX File Mover.

    First you need to add a CMD as Source:


    The following screenshot shows the CMD setup. In this example we’ll trigger a Ping from the Command Line. The result of the ping is stored in a text file. In this example we’re using a couple of parameters:

    %DFD = Destination File Directory

    %TCD:mmddyyyy-hhnnss: = Time Current Date format YearMonthDay-HourmiNuteSeconds

    cmd /c ping > %DFD\PingCheck.%TCD:mmddyyyy-hhnnss:.txt

    The Destination Directory of the Command result is set to: C:\Test\In\CMD\In\


    We selected ‘Move’ as function, so files created in the previous CMD Destination Directory will be Moved to its final Destination.

    We added a WIN local folder as Final Destination.

    Result in RuntTime Log:

    Content of ping command result text file:

    If you need help with the Command Line Tool as Source, please let us know.


    Limagito Team

    By Limagito-Team Command ,
  • 18 Apr

    How-To add Command Line as Destination in LimagitoX File Mover

    In version v2020.4.18.0 we’ve added an ‘Execute Command as Destination’ option.

    Open Destinations and <Add CMD>.


    For Command Lines tools please always use the ‘Command Line’ field. Leave the ‘Application Name’ field empty.

    This field will (almost) always start with:  CMD /C

    In this basic example we have added Copy and some parameters

    • %SFP%SFN = Source File Path and Source File Name
    • %DFP%DFN = Destination File Path and Destination File Name

    The %DFP will be filled with the ‘Destination Directory’ from the Command Setup (it will contain a \ at the end).

    If we don’t use the file renaming option then %DFN will be the same as %SFN.

    When we trigger the Moving Rule, we get the following result in the RunTime Log. Did you notice the translation of the parameters.

    If you need any help, please let us know.


    Limagito Team

    By Limagito-Team Command ,
1 2