Check For File modified date

Sort:
You are not authorized to post a reply.
Author
Messages
Jessi
New Member
Posts: 2
New Member

    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
    Senior Member
    Posts: 3348
    Senior Member
      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
      New Member
      Posts: 2
      New Member
        How would you parse out the results?
        John Henley
        Senior Member
        Posts: 3348
        Senior Member
          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.