delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/02/03:58:35

Date: Sun, 2 Feb 1997 10:45:14 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Marty Leisner <leisner AT sdsp DOT mc DOT xerox DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: copying to lpt1:?
In-Reply-To: <9701312211.AA20172@gnu.sdsp.mc.xerox.com>
Message-ID: <Pine.SUN.3.91.970202104201.23888Q-100000@is>
MIME-Version: 1.0

On Fri, 31 Jan 1997, Marty Leisner wrote:

> 	cp foo.ps lpt1:
> 
> which should work...
> 
> instead I get a:
> 
> Does foo.ps specify a file  name
> or a directory name on the target
> (F = file, D= directory)?

This sounds awfully like the XCOPY command from MSDOS.  Are you sure your 
PCNFS installation doesn't come with cp.bat that calls XCOPY?

And btw, I think cp to a device won't work, because `access' fails on 
devices.  I have a patch for `access' to fix that, but you can always 
redirect the output instead, or use cat > prn instead of cp.

- Raw text -


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