Op 30-1-2012 0:29, kurt godel schreef:
> Fellas, tnx; I didn't realize dircmd had been set that way; indeed, the
> behaviour occurs in a directory with enough entries to cause paging.
> Also, the space or lack of it in the 'dir' does not affect it
> at all. However there is still a bit of a mystery:
> even with the 'P' enabled, booting from option 3, allows it to *not*
> page and run to completion; an additional nuance is that under option 3,
> the 'copy' in the bat echos to the screen "1 file copied";
> however when booting under options 1 or 2, this does not occur, and the
> 'P' switch is effective. I even checked that 'dircmd' did not change
> with boot option 3. Richard<wb2...@gmail.com <mailto:wb2...@gmail.com>>.

I don't know your script, but redirecting output to NUL device usually 
works: COPY X.TXT Y.TXT > NUL

Another option:
CTTY NUL
COPY X.TXT Y.TXT
CTTY CON

However you wouldn't like singlestepping batchfiles in that case as CTTY 
NUL redirects both input and output, thus keyboard input isn't accepted 
for the moment, right until restored by CTTY CON

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to