Find hidden files
dir command:
Displays a list of a directory’s files and subdirectories. If used without parameters, dir displays the disk’s volume label and serial number, followed by a list of directories and files on the disk (including their names and the date and time each was last modified). For files, dir displays the name extension and the size in bytes. Dir also displays the total number of files and directories listed, their cumulative size, and the free space (in bytes) remaining on the disk. dir /ah //only show all hidden files and directories.
dir /a //show all files and directories, including hidden files.
How to set hidden files use the attrib command
attrib +h xx.file // Hidden file attribute.
attrib -h xx.file //Clear the file hidden properties
attrib *.* //Use attrib in a separate folder to view the current file attributes
attrib /s /d //Show all the files in the current directory, subdirectory names, and subdirectories of all files
attrib /s //Show all the files in the current directory, as well as all the files in the subdirectory
Also Read: Can We Learn 2 Programing Languages At The Same Time??
No comments:
Post a Comment