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. Bug in the DIR command?

    in Windows 10 Network and Sharing
    Bug in the DIR command?: Hi all. I'm running Version 10.0.17134.1365 and recently I've been testing long file names and how they're handled in an application that I work on. Strangely I noticed that when I try to see what the short name is for one of these files, they're not displaying correctly....
  3. "dir" output file list encoding is wrong

    in Windows 10 Support
    "dir" output file list encoding is wrong: I inherited some 20,000 .jpg files which wound their way from a French language version Windows 10 to Picasa, and then downloaded several times into different folders which created several copies of the same images. (A total of 196 sub folders, but the contents and folder...
  4. 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/
  5. 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...
  6. DIr Vexation / Alternates?

    in Windows 10 Support
    DIr Vexation / Alternates?: I want output all of the files in my document tree by Date Created, and have them format into a tight list in ascending chronological order The dir B switch gives me a nice tight list but I have not been able to figure out how to put it in oldest to newest order. Examples...
  7. "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...
  8. Program Files folders not listed in Dir

    in Windows 10 Support
    Program Files folders not listed in Dir: I cannot "CD\Window\Program Files" from a administrator command prompt and if I do a "Dir", "Programs Files" and "Program Files (86)" are not listed. I have a folder that I want to change the attributes on and can't do it because I don't have access to the parent folder....
  9. 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...
  10. matching wildcards in dir

    in Windows 10 Support
    matching wildcards in dir: In a folder I have several files starting with test, like test00, test0000, test1.txt, test1111, test 01.txt If I do a dir test0* I expect to get all files which match test0* like test00 and test0000 but I also get test 01.txt and I'm not sure why. I mean "test 01.txt"...