Skip navigation
Currently Being Moderated

How to check a folder is accessible

Mar 10, 2012 8:09 AM

Hi Team,

I am looking for an activity which can help me in checking if a file present in a folder on a remote machine is accessible.


Also kindly suggest me the input pattern for the file path when using the activity. My shared location is \\wb\mis\pcs\shared\eForms\test.txt



Thanks in Advance

  • Currently Being Moderated
    Mar 12, 2012 2:37 AM   in reply to Shiva.Kosaraju

    There is no such Off the Shelf activity available for this requirement.


    You can use ExecuteScript activity to do this.

  method will return TRUE if the file can be read. FALSE otherwise.


    Within execute script, you need to escape all backslashes as shown below




    Within File Utilities activities, you can directly use the path without escaping the slashes.



    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points