ronoldo
21st April 2011, 12:38
Dear all,

Is it possible to move a local directory on MS-platform (BaaN is running on a UNIX-machine)?
I only see the possibility to create or remove a local directory.

mpfaender
21st April 2011, 15:15
Hi ronoldo,

you have to read the local directory with a windows standard command DIR and pipes the result into a file.

You can start the command as following.
For example:
dir.local = "c:\tmp"

start.application.local("cmd /c dir /b " & trim$(dir.local) & " > c:\file.txt",false,ret)

After this you open the file with seq.open.local and reads through the file and send it to the server.

best regards
michael

ronoldo
21st April 2011, 15:40
Dear Michael,

Thanks.