Wally,<div><br></div><div>I'm porting my files and menus from UNIX to Windows (not my idea). I have menu scripts that delete the key and data in a temporary file before running reports. I have always redirected the stdout to /dev/null. In processing, I am using IUA processing to create report based on user input. When I run a system command to copy records to my temp file, I direct stdout to /dev/null and that way the user doesn't see the reading records, selecting records part.</div>
<div><br></div><div>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 ">" </div>
<div><br></div><div>Dan<br><br><div class="gmail_quote">On Sun, Jan 13, 2013 at 5:36 PM, Wally Turnbull <span dir="ltr"><<a href="mailto:wally@tbull.com" target="_blank">wally@tbull.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dan,<br>
<br>
Use "> nul" (with just one L) for Windows console (DOS) to redirect to /dev/null<br>
<br>
I've not followed this thread but Del fp$$*.bat and fp*.bat are essentially the same and will delete any bat script files starting with fp.<br>
<br>
Wally<br>
<div><div class="h5"><br>
<br>
On Jan 13, 2013, at 2:22 PM, Dan McCabe wrote:<br>
<br>
> Richard,<br>
><br>
> Do I need the first part "Del fp$$*.bat". To be more specific, I've been<br>
> using a system command to copy records from inside a non standard input<br>
> processing (using -z on a clerk command line). The command line generated<br>
> is "dreport file -flags > /dev/null". How do I format that for Windows?<br>
><br>
> Dan<br>
><br>
> On Sun, Jan 13, 2013 at 2:12 PM, Richard Kreiss <<a href="mailto:rkreiss@verizon.net">rkreiss@verizon.net</a>> wrote:<br>
><br>
>> Try command something like this:<br>
>><br>
>> Del fp$$*.bat > NULL<br>
>><br>
>> Richard Kreiss<br>
>> GCC Consulting<br>
>><br>
>>> -----Original Message-----<br>
>>> From: filepro-list-bounces+rkreiss=<a href="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a><br>
>>> [mailto:<a href="mailto:filepro-list-bounces%2Brkreiss">filepro-list-bounces+rkreiss</a>=<a href="mailto:verizon.net@lists.celestial.com">verizon.net@lists.celestial.com</a>] On<br>
>>> Behalf Of Dan McCabe<br>
>>> Sent: Sunday, January 13, 2013 1:32 PM<br>
>>> To: FilePro Mailing List<br>
>>> Subject: Redirect output in processing<br>
>>><br>
>>> I'm trying to tweak my processing from UNIX to Windows. I have several<br>
>>> system commands that redirect screen output to /dev/null. In Windows,<br>
>> I've<br>
>>> tried changing it to \device\null and just NUL. Both produce a bad<br>
>> command<br>
>>> line error. My process works if I take it all out, but then my screen<br>
>> starts<br>
>>> displaying things I don't want the end user to see. What am I missing?<br>
>>><br>
>>> Thanks,<br>
>>><br>
>>> Dan<br>
>>> -------------- next part --------------<br>
>>> An HTML attachment was scrubbed...<br>
>>> URL: <a href="http://mailman.celestial.com/pipermail/filepro-" target="_blank">http://mailman.celestial.com/pipermail/filepro-</a><br>
>>> list/attachments/20130113/a20f3bfe/attachment.html<br>
>>> _______________________________________________<br>
>>> Filepro-list mailing list<br>
>>> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
>>> Subscribe/Unsubscribe/Subscription Changes<br>
>>> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
>><br>
>><br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
</div></div>> URL: <a href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20130113/a844ff6f/attachment.html" target="_blank">http://mailman.celestial.com/pipermail/filepro-list/attachments/20130113/a844ff6f/attachment.html</a><br>
<div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> Filepro-list mailing list<br>
> <a href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a><br>
> Subscribe/Unsubscribe/Subscription Changes<br>
> <a href="http://mailman.celestial.com/mailman/listinfo/filepro-list" target="_blank">http://mailman.celestial.com/mailman/listinfo/filepro-list</a><br>
><br>
<br>
</div></div></blockquote></div><br></div>