Home » Developer & Programmer » Forms » Form 6i, Windows directories exploration
Form 6i, Windows directories exploration [message #161861] Tue, 07 March 2006 09:19 Go to next message
Tafer
Messages: 64
Registered: July 2005
Location: Here!
Member
Hi,

I'm using Form 6i and I need to "manipulate" the contents of a directory of windows.

In detail, I need to access each file of certain type on a directory, process it and move it to another directory. But I haven't found anything about "directory exploration" for forms 6i and anything like that.

I'll appreciate any info that can help me with this situation.

Thanks in advance!
Re: Form 6i, Windows directories exploration [message #162141 is a reply to message #161861] Wed, 08 March 2006 23:27 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
You can use 'd2kwutil' to get a directory and/or file name. You can use a 'host' command to produce a list of files in a directory, and then another 'host' command to copy files between directories.

David
Re: Form 6i, Windows directories exploration [message #162306 is a reply to message #162141] Thu, 09 March 2006 11:02 Go to previous message
Tafer
Messages: 64
Registered: July 2005
Location: Here!
Member
Thanks a lot David!

The solution was... well not pretty but flexible...

With a host I run something like "dir something_I_want > file_to_process". This creates a file with the contents of the directory.

Then I work with the contents of the file_to_process.

Thanks a lot David!

[Updated on: Thu, 09 March 2006 11:40]

Report message to a moderator

Previous Topic: Show query behind forms error - Runtime
Next Topic: 10g Forms Menu Error
Goto Forum:
  


Current Time: Fri Sep 20 07:36:55 CDT 2024