Windows 10: Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs"

Discus and support Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs" in Windows 10 Installation and Upgrade to solve the problem; In effort to resolve a black screen problem I brought up the command prompt on WinRE and typed: "C:\>dir". It returned the following: Volume in drive... Discussion in 'Windows 10 Installation and Upgrade' started by DougieHY, Feb 23, 2021.

  1. DougieHY Win User

    Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs"


    In effort to resolve a black screen problem I brought up the command prompt on WinRE and typed: "C:\>dir". It returned the following:

    Volume in drive C is System Reserved
    Volume Serial Number is 84A3-2C67
    Directory of C:\
    01/17/2021 02:31AM <DIR> Boot
    0 Files 1 Dirs 68,362,240 bytes free

    Does it look normal or indicate that all data on C: got erased? If erased, is it possible to see them using the "attrib" command?

    :)
     
    DougieHY, Feb 23, 2021
    #1
  2. Kari Win User

    dir Difficulties

    DIR uses whatever time definition you tell it to use. Following command would list all files and folders in X:\Downloads in order they have been created:

    dir X:\Downloads /t:c


    DIR is fully capable to sort files and folders. Following command would list all files in X:\Downloads, oldest first:

    dir X:\Downloads /o:d

    The minus sign before a parameter reverses the results, so the following command would list the same folder in reversed order, newest first:

    dir X:\Downloads /o:-d

    You can also combine switches. Following command would list all files and folders in X:\Downloads and all its subfolders (the /s switch), listing them in newest first based on time of file / folder creation:

    dir X:\Downloads /s /o:-d /t:c
     
  3. dir Difficulties

    I am getting the hang of this command set.

    Maybe somebody know a work around that will list the three time stamps at one time.
    Theoretically dir /TC /TA /TW.
    dir will only show one of the three at one time.

    To me it seems that the only way to get all three on a line is to run loop with output to file, then boiling down the three outputs to one line. Clumsy but maybe the only way to get the job done?

    Thanks for any suggestions.
     
    mikeincousa, Feb 23, 2021
    #3
  4. Try3 Win User

    Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs"

    dir Difficulties

    Kari - We are both saying the same thing. Dir lists files and its lists can be sorted. Dir does not do anything to the files themselves but only to the lists it produces. Denis
     
Thema:

Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs"

Loading...
  1. Does it mean all hard drive data got erased if "C:\>dir" returns "0 Files 1 Dirs" - Similar Threads - Does mean hard

  2. DIR Command

    in Windows 10 Gaming
    DIR Command: dir /A:D /B /S > FolderList.txt produces a list of all directories and subdirectories of a directory. I would like to modify this line to have the date included for all directories and subdirectories of a directory too....
  3. DIR Command

    in Windows 10 Software and Apps
    DIR Command: dir /A:D /B /S > FolderList.txt produces a list of all directories and subdirectories of a directory. I would like to modify this line to have the date included for all directories and subdirectories of a directory too....
  4. Command-line shells, commands like dir /p not working but dir does work

    in Windows 10 Customization
    Command-line shells, commands like dir /p not working but dir does work: I am using W'10, Administrative Windows Power Shell, command line.When I do a "DIR" it works, but when I add parameters, I get this error message:-----------------PS C:\> dir /sdir : Cannot find path 'C:\s' because it does not exist.At line:1 char:1+ dir /s+ ~~~~~~ +...
  5. Command-line shells, commands like dir /p not working but dir does work

    in Windows 10 Gaming
    Command-line shells, commands like dir /p not working but dir does work: I am using W'10, Administrative Windows Power Shell, command line.When I do a "DIR" it works, but when I add parameters, I get this error message:-----------------PS C:\> dir /sdir : Cannot find path 'C:\s' because it does not exist.At line:1 char:1+ dir /s+ ~~~~~~ +...
  6. Command-line shells, commands like dir /p not working but dir does work

    in Windows 10 Software and Apps
    Command-line shells, commands like dir /p not working but dir does work: I am using W'10, Administrative Windows Power Shell, command line.When I do a "DIR" it works, but when I add parameters, I get this error message:-----------------PS C:\> dir /sdir : Cannot find path 'C:\s' because it does not exist.At line:1 char:1+ dir /s+ ~~~~~~ +...
  7. DIR commands

    in Windows 10 Ask Insider
    DIR commands: So recently I used the DIR commands to be able to see hidden and Invisible files, is there any way to revert this? submitted by /u/Creeper_King_558 [link] [comments] https://www.reddit.com/r/Windows10/comments/inyfq2/dir_commands/
  8. DOS Dir Command issues-dir *. /s doesn't get all subfolders?

    in Windows 10 Software and Apps
    DOS Dir Command issues-dir *. /s doesn't get all subfolders?: I am trying to get an accurate picture of my music library, where all music is stored in album subfolders under artist folders. I opened a CMD window and at "E:\My Music\" prompt, typed: "dir *. /s" >dir.txt" in order to generate a text file of all folders and subfolders...
  9. "Mode" info returned by Windows 10 dir command

    in Windows 10 Support
    "Mode" info returned by Windows 10 dir command: Windows 10 seems to have a new set of info returned by the "dir" Powershell command. This appears under the "Mode" heading, e.g. -a---- or d----- , but nowhere have I found what these entries mean or how to interpret the individual characters. I get that they have to do with...
  10. dir Difficulties

    in Windows 10 Support
    dir Difficulties: I am seeking to sort files with dir. Creation date and time is my most primary interest. This has been my primary guide. MS-DOS dir command help I have tried a number of these commands in Powershell and Admin Powershell The simple one element wild card ones work okay. Ex...