system command
Kenneth Brody
kenbrody at spamcop.net
Fri Jun 17 11:57:03 PDT 2016
On 6/17/2016 2:05 PM, Roland Fischer via Filepro-list wrote:
>
> Hi Ken
> I am having a problem executing a system command on a Windows 7 machine
> attached to a windows 2012 network
>
> The command does not give me an error, but the command is not executed.
How can you tell that there's no error?
> If I go to a dos prompt and run the command all is as it should be.
<rant type="mini">
Note that there hasn't been a "DOS prompt" since Windows 95. You can get to
a "command prompt", but DOS is dead. (Yes, "cmd.exe" understands most [if
not all] of the old "command.com" commands, but it's a full-fledged Windows
program, just as filePro is.)
</rant>
> I have tried many different forms of the command with no resolution.
> The system command I am trying to execute is;
> system "copy /y c:" { bs { "test.txt testnew.txt > logfile"
> note 'bs' field contains ascii 92 - backslash
> Any help would be appreciated.
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"
--
Kenneth Brody
More information about the Filepro-list
mailing list