Operations on Hidden Files (69026)



The information in this article applies to:
    Microsoft MS-DOS operating system 2.11
    Microsoft MS-DOS operating system 3.1
    Microsoft MS-DOS operating system 3.2
    Microsoft MS-DOS operating system 3.21
    Microsoft MS-DOS operating system 3.3
    Microsoft MS-DOS operating system 3.3a
    Microsoft MS-DOS operating system 4.0
    Microsoft MS-DOS operating system 4.01

This article was previously published under Q69026

SUMMARY

There are several MS-DOS commands that can be used on files that have the hidden attribute set; however, they all require that you know the filename. These commands are:
   Command     Versions
   -------     --------

   TYPE        All versions listed above
   FIND        All versions listed above
   FC          3.20 through 4.x
   PRINT       3.00, 3.10, 3.20, 3.30
   ATTRIB      5.00
Commands such as DEL, ERASE, DIR, REN, XCOPY, ATTRIB, and COPY return the message "File not found" or "Invalid path" when used on hidden files.

Modification Type: Major Last Reviewed: 11/26/2003
Keywords: KB69026