system command

Kenneth Brody kenbrody at spamcop.net
Fri Jun 17 13:02:24 PDT 2016


On 6/17/2016 3:37 PM, Roland Fischer wrote:
> Hi Ken
> tried command with pauses, I just get message 'Press any key to continue
> .. .' one message for each pause
> statement >  Also tried command with 'noredraw' with same result

And nothing displayed after the first pause and before the second?  No 
error, and no "1 file(s) copied"?

[...]
> Try putting a "pause" before and after the command, so you can see what's
> going on.
>
>     system "pause & copy /y c:" { bs { "test.txt testnew.txt & pause"

Try adding an "echo" before the "copy" so you can see what, exactly, was passed:

   system "pause & echo copy /y c:" { bs { "test.txt testnew.txt & pause"

Obviously, the command line is being executed, since you get the two "press 
any key to continue" messages.

-- 
Kenneth Brody


More information about the Filepro-list mailing list