Sage 100

 View Only
  • 1.  VI perform logic to rename input file and copy to

    Posted 02-03-2015 12:10
    VI perform logic to rename input file and copy to new folder upon job completion? I seem to recall seeing this discussed before, and had a sample script file but the file has been corrupted. The job does not have to run unattended or on a task schedule. They want to move the import file to an archive folder automatically. The import file name is dynamic. It changes each time.


  • 2.  RE: VI perform logic to rename input file and copy to

    Posted 02-04-2015 05:45
    Here's the only thing I can find I've ever used re renaming - the first is just one line and uses the same input file name each time Rename ""C:\Test.TXT"",""C:\Test.""+DTE(0:""%Mz%Dz%Y"") Then this one prompts for a name INPUT 'CS',@(20,20),""File Name....:"", N$ Rename ""C:\""+N$,""C:\""+N$+DTE(0:""%Mz%Dz%Y"")