|
By ram_baan at 16 Jul 2009 - 12:56
|
|
Hi All,
There are few files residing in a specific folder of a windows machine (PC). Our intention is to get only those filenames starting with "dm" from that location using BaaN script (BaaN 5). Appreciate if any of you could tell us the detailed steps to achieve this
Thanks
|
|
|
1. My Baan IV runs on unix, but we're using the bw client.
2. The dll ottdllw contains all that's necessary.
My approach is:
Step 1: run a batch file on your windows pc eg. with app_start().
Step 2: that batch file could do e.g cd to that specific directory and then a "dir dm*" > a file.
Step 3: copy that file to the unix server using client2server().
Step 4: read that file using seq.open(), seq.gets() and seq.close().
Günther