Home » Developer & Programmer » Forms » Search for a file pattern
Search for a file pattern [message #186960] Thu, 10 August 2006 05:41 Go to next message
prase_pk
Messages: 40
Registered: July 2005
Location: india
Member
I am using forms4.5 and I have to check whether a file of the pattern *XYZ*.*(which is passed as a parameter) exists in the specific folder or not. The folder is present in the remote unix box. I have to connect it through my login credentials which will also be parameters.

Please help me how to do it.

Thanks in advance
Re: Search for a file pattern [message #187100 is a reply to message #186960] Thu, 10 August 2006 21:27 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Use the 'host' command to run a 'dir > tmp.txt' command and then use 'text_io' to read the 'tmp.txt' file.

Search this forum for 'text_io'.

David
Previous Topic: Changing the background color of the visual attribute property
Next Topic: set the default font to my form
Goto Forum:
  


Current Time: Fri Sep 20 10:26:33 CDT 2024