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. "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...
  3. "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...
  4. 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....
  5. 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....
  6. command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error

    in Windows 10 Gaming
    command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error: It is very strange that this file exists, even I copy and paste its address in run and the file openshttps://i.postimg.cc/j2RNkrrx/screenshot-32.png...
  7. command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error

    in Windows 10 Software and Apps
    command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error: It is very strange that this file exists, even I copy and paste its address in run and the file openshttps://i.postimg.cc/j2RNkrrx/screenshot-32.png...
  8. command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error

    in Windows 10 Installation and Upgrade
    command "dir \s \b" in Windows 10 cmd gives me "File Not Found" error: It is very strange that this file exists, even I copy and paste its address in run and the file openshttps://i.postimg.cc/j2RNkrrx/screenshot-32.png...
  9. cmd.exe dir command time and file size run into each other

    in Windows 10 Gaming
    cmd.exe dir command time and file size run into each other: Hello,I discovered the output of the dir command via cmd.exe has a run-on problem with both the file time an size. Here is an example:09/10/2022 16:41:57.59 D:\Users\Bertr\Programming>dir g: Volume in drive G is Bastok Volume Serial Number is 2A7A-2707 Directory of G:\...
  10. cmd.exe dir command time and file size run into each other

    in Windows 10 Software and Apps
    cmd.exe dir command time and file size run into each other: Hello,I discovered the output of the dir command via cmd.exe has a run-on problem with both the file time an size. Here is an example:09/10/2022 16:41:57.59 D:\Users\Bertr\Programming>dir g: Volume in drive G is Bastok Volume Serial Number is 2A7A-2707 Directory of G:\...