AlluRajasekhar
10th October 2008, 12:25
Hi All,
I am trying to get a list of files on a particular directory on Baan Server to a ascii file. The problem is I will have to do it in a script. I have tried using app_start amd run.prog. But with no success. Following is what I have tried...
ret = run.prog("/home/arajasek", "ls > process.file", "rp_wait)
But it always returns "-1"
Basically I will have to process list of files in a particular directory. Hence I am planning to write all these file names in an ascii file called Process.files. I would then open this process.files and then start processing each file.
Appreciate any help on this.
Thank you.
I am trying to get a list of files on a particular directory on Baan Server to a ascii file. The problem is I will have to do it in a script. I have tried using app_start amd run.prog. But with no success. Following is what I have tried...
ret = run.prog("/home/arajasek", "ls > process.file", "rp_wait)
But it always returns "-1"
Basically I will have to process list of files in a particular directory. Hence I am planning to write all these file names in an ascii file called Process.files. I would then open this process.files and then start processing each file.
Appreciate any help on this.
Thank you.