cycy03
16th February 2012, 14:33
I´m trying to execute local commands:

command = "dir/B //147.0.39.126/*.txt > //147.0.39.126/files"

I tried to use start.application.commands(command, true, erro) and run.prog("cmd.exe", "/c" & command, RP_WAIT but is didn´t work.

There are any commands can I try??

mark_h
16th February 2012, 20:19
Always try searching the forum - here is one such Thread (http://www.baanboard.com/baanboard/showthread.php?t=58898&highlight=run.prog) that I found. If you still have issues post all the cost. I am wondering if you need a space in the run.prog after the /c. So "/c" would be "/c ". Not sure since I never really use this type functionality.