delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/09/21:45:07

From: "Tom St Denis" <tomstdenis AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <20010709222811 DOT 9973 DOT qmail AT web14804 DOT mail DOT yahoo DOT com>
Subject: Re: /dev/null
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2462.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000
Message-ID: <1Zs27.138149$Mf5.37520045@news3.rdc1.on.home.com>
Date: Tue, 10 Jul 2001 01:34:53 GMT
NNTP-Posting-Host: 24.112.8.23
X-Complaints-To: abuse AT home DOT net
X-Trace: news3.rdc1.on.home.com 994728893 24.112.8.23 (Mon, 09 Jul 2001 18:34:53 PDT)
NNTP-Posting-Date: Mon, 09 Jul 2001 18:34:53 PDT
Organization: Excite AT Home - The Leader in Broadband http://home.com/faster
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Thomas Lien" <tgunlien AT yahoo DOT com> wrote in message
news:20010709222811 DOT 9973 DOT qmail AT web14804 DOT mail DOT yahoo DOT com...
> To add to the discussion of various windows 2000
> problems with DJGPP, I have one. Here is what I typed.
>
> ********************************************
> d:/> echo $DJGPP
> D:\djgpp\djgpp.env
> d:/> echo $DJDIR
> d:/djgpp
> d:/> echo hi > /dev/null
> bash: /dev/null: Permission denied (EACCES)
> ********************************************
>
> What is wrong with my /dev/null redirection?

In DOS there is no /dev/null so use nul

For instances

copy /y *.* A: > nul

Tom


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019