Windows 10: DIR commands

Discus and support DIR commands in Windows 10 Ask Insider to solve the problem; 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... Discussion in 'Windows 10 Ask Insider' started by /u/Creeper_King_558, Sep 6, 2020.

  1. 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]

    :)
     
    /u/Creeper_King_558, Sep 6, 2020
    #1

  2. 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, Sep 6, 2020
    #2
  3. das10 Win User
    das10, Sep 6, 2020
    #3
  4. Kari Win User

    DIR commands

    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
     
    Kari, Sep 6, 2020
    #4
Thema:

DIR commands

Loading...
  1. DIR commands - Similar Threads - DIR commands

  2. in cmd bar when I make the Dir command I find in almost every folder in my computer files...

    in Windows 10 Gaming
    in cmd bar when I make the Dir command I find in almost every folder in my computer files...: in cmd bar, when I make the Dir command I find in almost every folder in my computer files with name . and .. do I need to worry ? https://answers.microsoft.com/en-us/windows/forum/all/in-cmd-bar-when-i-make-the-dir-command-i-find-in/9fc8f5be-570c-4c0e-bc1c-62f335229124
  3. in cmd bar when I make the Dir command I find in almost every folder in my computer files...

    in Windows 10 Software and Apps
    in cmd bar when I make the Dir command I find in almost every folder in my computer files...: in cmd bar, when I make the Dir command I find in almost every folder in my computer files with name . and .. do I need to worry ? https://answers.microsoft.com/en-us/windows/forum/all/in-cmd-bar-when-i-make-the-dir-command-i-find-in/9fc8f5be-570c-4c0e-bc1c-62f335229124
  4. Extracting informations from a DIR /S command via DOS commands?

    in Windows 10 Network and Sharing
    Extracting informations from a DIR /S command via DOS commands?: Hi, I need to make a list of a folder's content on a server put this result in a Data filtered Excel file. I only have access to this folder via a mapped drive. This list will be used to identify which files can be migrated to another place, mainly document types of files. I...
  5. Is it possible in Windows 11 to get Windows File Explorer to act like the command line "dir...

    in Windows 10 Gaming
    Is it possible in Windows 11 to get Windows File Explorer to act like the command line "dir...: Without going into Command Prompt I would like to see the folder structure rooted at C:/> display as many folders as will fit on the screen with each folder clickable to show its contents in a scrollable right pane. I would like to have a print option for this data....
  6. Is it possible in Windows 11 to get Windows File Explorer to act like the command line "dir...

    in Windows 10 Software and Apps
    Is it possible in Windows 11 to get Windows File Explorer to act like the command line "dir...: Without going into Command Prompt I would like to see the folder structure rooted at C:/> display as many folders as will fit on the screen with each folder clickable to show its contents in a scrollable right pane. I would like to have a print option for this data....
  7. "dir/s/b" Command Prompt not picking-up all the files in a directory.

    in Windows 10 Gaming
    "dir/s/b" Command Prompt not picking-up all the files in a directory.: I'm using the command in Command Prompt that goes "[a directory] > dir/s/b > [to a text-file]". When applying this to certain folders in the Windows OS—"C:\Users\Administrator\""C:\ProgramData\Packages\""C:\Windows\ServiceState\"in particular—it doesn't manage to get the...
  8. "dir/s/b" Command Prompt not picking-up all the files in a directory.

    in Windows 10 Software and Apps
    "dir/s/b" Command Prompt not picking-up all the files in a directory.: I'm using the command in Command Prompt that goes "[a directory] > dir/s/b > [to a text-file]". When applying this to certain folders in the Windows OS—"C:\Users\Administrator\""C:\ProgramData\Packages\""C:\Windows\ServiceState\"in particular—it doesn't manage to get the...
  9. 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....
  10. 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....