Please let me know some functions / logic in framing the code in WR.
1. I need to find out a file (.csv) in a shared folder. Ex: C:\NewFolder (Shared folder)
2. Which has a any name, but extension would be (.csv) only. Ex: xyz.csv / abc.csv
3. It is something like a monitoring the shared folder for the file, if a file is found then it will process the file. If the file is not found then WR will wait for some time. Again the loop continues till it finds a file.
NOTE: This script will run 24/7.
Thanks in Advance.
If you want a high quality software system, you must ensure each of its parts is of high quality. by Watts S. Humphrey
You could try it with a dos command:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">dos_system("dir /B \\computerName\sharedDirName\*.csv > c:\outputDir\outputFile.txt"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">And then open the outputFile.txt and read it. It should contain either the names of the .csv files (one per line) or a message saying "File not found".