PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01/23/2018 9:44 AM by  John Henley
Check For File modified date
 3 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Jessi
Lawson Admin
TNMC
New Member
(4 points)
New Member
Posts:2


Send Message:

--
01/18/2018 4:10 PM

    I need to access a file in IPA and check for it's last modified date. Based on the modified date I'd perform different options. What's the best way to access the modified date of the file? 

    John Henley
    Private
    Private
    Senior Member
    (9650 points)
    Senior Member
    Posts:3234


    Send Message:

    --
    01/18/2018 4:26 PM
    I think you have to use the System Command node with 'dir /t:W' (if you're on Windows) or 'ls -l' (on Unix) and then parse the output.
    Thanks for using the LawsonGuru.com forums!
    John
    Jessi
    Lawson Admin
    TNMC
    New Member
    (4 points)
    New Member
    Posts:2


    Send Message:

    --
    01/22/2018 9:37 AM
    How would you parse out the results?
    John Henley
    Private
    Private
    Senior Member
    (9650 points)
    Senior Member
    Posts:3234


    Send Message:

    --
    01/23/2018 9:44 AM
    You can follow the system command node (e.g. named "sc") with an assign node and read the sc_outputData from the system command node.
    Thanks for using the LawsonGuru.com forums!
    John
    You are not authorized to post a reply.