Windows 10: Making a dir provides different results depending ...

Discus and support Making a dir provides different results depending ... in Windows 10 Gaming to solve the problem; Hello, I have a server configured with alternate names.ref: Multiple names for one computer – Consolidate your SMB file servers without breaking UNC... Discussion in 'Windows 10 Gaming' started by Thierry Paquot, Jul 20, 2023.

  1. Making a dir provides different results depending ...


    Hello, I have a server configured with alternate names.ref: Multiple names for one computer – Consolidate your SMB file servers without breaking UNC paths – Jose Barreto's Blog home.blogUsing Computer Name Aliases in place of DNS CNAME Records - Microsoft Community HubWe have registered devices and on three of them, we have this strange behaviour- If I make a dir on a share with the netbios name, it works dozens of directory are displayed- If I make a dir on a share with we FQDN formed with the netbios name, it works dozens of directory are displayed- If I make a dir with the alternate

    :)
     
    Thierry Paquot, Jul 20, 2023
    #1
  2. tfor Win User

    Dir command gives unexpected / unwanted results

    If I open a command prompt window and give the command " dir *.xls", I also get all xlsm, xlsx, xlsq etc files. This behaviour is unwanted and illogical. it makes scripting hopelessly complex and unreliable. If I wanted those files, I would issue a "dir *.xls?" command.

    For the record: *.xlsq is NOT an existing Excel extension. I created an empty file with that extension to test this behaviour.

    Issuing the command "dir *.xl" gives me no results.

    Is there any way to make Windows list only .xls files, and not .xls? files?

    I suppose the same applies to Word and PowerPoint files. I have not tested this yet.
     
  3. 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
     
  4. Making a dir provides different results depending ...

    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, Jul 20, 2023
    #4
Thema:

Making a dir provides different results depending ...

Loading...
  1. Making a dir provides different results depending ... - Similar Threads - Making dir provides

  2. My microphone sounds different depending on the program.

    in Windows 10 Software and Apps
    My microphone sounds different depending on the program.: I have a primary microphone that I use, however it sounds bad on some apps and very good on others, for example, on Discord, it sounds okay, but on an audio recorder online, using the same microphone, its go froms okay to amazing....
  3. Making a dir provides different results depending ...

    in Windows 10 Software and Apps
    Making a dir provides different results depending ...: Hello, I have a server configured with alternate names.ref: Multiple names for one computer – Consolidate your SMB file servers without breaking UNC paths – Jose Barreto's Blog home.blogUsing Computer Name Aliases in place of DNS CNAME Records - Microsoft Community HubWe have...
  4. Making a dir provides different results depending ...

    in Windows 10 Customization
    Making a dir provides different results depending ...: Hello, I have a server configured with alternate names.ref: Multiple names for one computer – Consolidate your SMB file servers without breaking UNC paths – Jose Barreto's Blog home.blogUsing Computer Name Aliases in place of DNS CNAME Records - Microsoft Community HubWe have...
  5. Internet speed is different depending on accounts

    in Windows 10 Gaming
    Internet speed is different depending on accounts: I have a problem where the internet is slower on my account, however the other accounts have normal and faster speeds.There are 2 accounts on my PC. The default admin account and my account, also set to have admin settings enabled.When I'm on the admin account the internet...
  6. Internet speed is different depending on accounts

    in Windows 10 Software and Apps
    Internet speed is different depending on accounts: I have a problem where the internet is slower on my account, however the other accounts have normal and faster speeds.There are 2 accounts on my PC. The default admin account and my account, also set to have admin settings enabled.When I'm on the admin account the internet...
  7. Internet speed is different depending on accounts

    in Windows 10 Network and Sharing
    Internet speed is different depending on accounts: I have a problem where the internet is slower on my account, however the other accounts have normal and faster speeds.There are 2 accounts on my PC. The default admin account and my account, also set to have admin settings enabled.When I'm on the admin account the internet...
  8. Different columns in FileExplorer depending on folder name?

    in Windows 10 Support
    Different columns in FileExplorer depending on folder name?: I setup the following columns as default for all (new) folders: Name, Size, Date modified Now I created a new folder with the name "work". Yes, all columns are set accordingly. Now I rename the folder to "_work" and the shown folders are automatically changed to Name,...
  9. How to make Windows search provide results for 3rd party cloud drive

    in Windows 10 Network and Sharing
    How to make Windows search provide results for 3rd party cloud drive: I have an account on Dropbox and sure on OneDrive. So I can select where to save a file. But Windows search cannot provide results for the files on Dropbox though they are also kept on my computer....
  10. Dir command gives unexpected / unwanted results

    in Windows 10 Support
    Dir command gives unexpected / unwanted results: If I open a command prompt window and give the command " dir *.xls", I also get all xlsm, xlsx, xlsq etc files. This behaviour is unwanted and illogical. it makes scripting hopelessly complex and unreliable. If I wanted those files, I would issue a "dir *.xls?" command. For...