system command

Kenneth Brody kenbrody at spamcop.net
Fri Jun 17 19:53:24 PDT 2016


On 6/17/2016 4:18 PM, Roland Fischer wrote:
> Hi Ken
> Nothing displays except the 'Press any key to continue ...'

So, even if you add "echo", it doesn't echo anything?

It does show a second "press any key to continue" after you press the key, 
correct?  Or does the second one never show?

What happens if you type this at the command prompt?

     pause & echo this is the echo command & 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.

What if you remove the first "pause"?

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

-- 
Kenneth Brody


More information about the Filepro-list mailing list