Redirect output in processing

Kenneth Brody kenbrody at spamcop.net
Mon Jan 14 09:43:54 PST 2013


On 1/13/2013 6:12 PM, Dan McCabe wrote:
[...]
> When I change ">/dev/null" in my menu script or my processing to >nul or
>> \device\null, I get a filePro error telling me I have a bad command on the
> command line.  The error always points to the ">"
[...]

That makes no sense, since I have never seen Windows ever give an indicator 
as to where it thinks the error is.

But, since you are saying that it's a filePro error, I am going to go out on 
a limb and ass/u/me that this is a SYSTEM command within processing, and not 
a menu command line, and that filePro is complaining about a syntax error in 
your processing, totally unrelated to the command you're trying to execute.

If my assumption is correct, please show us the actual prc line you're using.

However, the point is moot, as redirecting stdout on Windows won't cause 
filePro's output to disappear.  (The Windows console API won't allow 
redirection to a file.  Nor will it work with redirecting stdin from a 
file.)  Have you considered using "start /min" to run the command in a 
minimized window?

-- 
Kenneth Brody


More information about the Filepro-list mailing list