suppressing "file not found" on Dir Command



In Windows 2000, I am issuing a Dir command and I am directing the output to
a file, for example
dir xxx*.txt > c:\DirOutput.txt

In the case where there are no files found with the mask specified, I get a
message showing up in the CMD window "File not found".

It is expected that in some instances that there will be no files and of
course to the user, it looks like there is some kind of error. Is there
anyway to suppress this message?

Thanks in advance.


.



Relevant Pages

  • RE: re-setting boot partition
    ... Description of the Windows 2000 Recovery Console ... For a Microsoft Windows XP version of this article, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.setup_upgrade)
  • RE: Win2000 Upgrade to SP3 Express Setup error.
    ... Start your computer with the Windows Setup floppy disks, ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ... you cannot copy a file from the local hard disk to a floppy disk. ...
    (microsoft.public.win2000.setup_upgrade)
  • RE: Locating corrupt driver
    ... This article describes the functionality and limitations of the Windows ... Create and format partitions on drives. ... MB of hard disk space on your system partition to hold the Cmdcons folder ... Windows NTBoot Console Command Interpreter. ...
    (microsoft.public.win2000.applications)
  • >>>> NET SEND <<<<
    ... Windows Xp Net Send ... Net Send Command For Mac ... Net Send Syntax Dos ... Dos Net Send Commands ...
    (sci.lang.japan)
  • Re: DOS Box Keyboard problem
    ... mode con codepage select=860 ... This is copied from a command prompt, I did not type a single character, all ... into) Command Prompt windows with a mouse. ... I get 437 from command chcp and cmd chcp. ...
    (microsoft.public.windowsxp.configuration_manage)

Loading