What. FreeDOS ain't even got 1.3 past release candidate numbers.

Regards,

Michał

W dniu 01.12.2021 o 01:59, richardkolacz...@hotmail.com pisze:
I am new to trying to setup FreeDOS as bare-metal configuration to use instead of Windows 10 for programs I am writing.

I notice that HP computer company has FreeDOS 3.0 as an option for Available Operating Systems. Is this anything to do with this forum? Any advantages for me to use this instead of RC1.5 version etc.

I have attached a screenshot from the HP specifications page for you to study - I hope this attachment does not go against any forum rules.

Thanks

Richard


------------------------------------------------------------------------
*From:* Rugxulo <rugx...@gmail.com>
*Sent:* Tuesday, 30 November 2021 11:52 AM
*To:* Discussion and general questions about FreeDOS. <freedos-user@lists.sourceforge.net>
*Subject:* Re: [Freedos-user] How to redirect STDOUT and STDERR to file
Hi,

On Sun, Nov 28, 2021 at 6:53 AM saito yutaka <melody....@gmail.com> wrote:
>
> How to redirect STDOUT and STDERR to file.
> I want to redirect to file as follow.
>
> ---
> c:\>dir aaa > out.txt
> c:\> type out.txt
>  Volume in drive C is FREEDOS2021
>  Volume Serial Number is 3668-1A1E
> File not found.
> ---
>
> But it works as follow.
> It couldn't redirect "File not found" string.
>
> ---
> c:\>dir aaa > out.txt
> File not found.
> c:\> type out.txt
>  Volume in drive C is FREEDOS2021
>  Volume Serial Number is 3668-1A1E
> ---

As mentioned, some things won't work by default.

For most things, if you just want to silence output (usually in a .BAT
file), try this:

REM ... shut up almost all output ...
ctty nul
echo (do whatever)
ctty con
REM ... make sure to re-enable "ctty con" at the end!! ...

To redirect STDERR to file, you need a third-party util (or a better
shell like 4DOS, as already mentioned):

* http://cd.textfiles.com/simtel/simtel0101/simtel/asmutl/stderrf1.zip

There's also DJGPP's REDIR.EXE (386 DPMI) from DJDEV205.ZIP :

* http://www.delorie.com/pub/djgpp/current/v2/djdev205.zip


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to