Windows 10: dir Difficulties

Discus and support dir Difficulties in Windows 10 Support to solve the problem; 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... Discussion in 'Windows 10 Support' started by mikeincousa, Jun 25, 2018.

  1. 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
    dir *.exe

    All the others seem to use methods and techniques beyond my current skill level.

    First. I do not understand this statement.
    Options listed below may be preset in the DIRCMD environment variable. To override preset options, prefix any switch with - (hyphen), for example, "/-W".
    A description and example might help,


    The slash operator returns errors that I do not know how to fix. Ex
    PS G:\> dir /b
    dir : Cannot find path 'G:\b' because it does not exist.

    Why does PS reverse the direction of the slash?

    Any guidance, clearer examples,references,tutorials...will be appreciated.

    Thanks


    :)
     
    mikeincousa, Jun 25, 2018
    #1
  2. C1DNiE Win User

    Thinking DIR-655.

    So I have a few nodes that I need traffic routed to in my home. This includes wireless, USB(convenient), and of course hard wire routed main station.

    I am running a broadband connection neighborhood coaxial to a Motorola DOCSIS 3.0 modem.

    dir Difficulties 865829755.png


    To the point of the topic.

    I need some suggestions.
    Needs:
    1GB ports x4 (10/100/1000)
    USB
    802.11b/g/"n draft"
    2 channels for streaming HD
    -basically my needs are standard and I want a solid option.

    Does not have to have playable firmware. Just legit.

    I was looking at the D-Link DIR-655
    http://www.newegg.com/Product/Product.aspx?Item=N82E16833127215&Tpk=dir-655

    Any Cisco/Linksys or other suggestions?
     
    C1DNiE, Jun 25, 2018
    #2
  3. Berton Win User
    DIR list to text list folders but not what is in them.


    In a Command Prompt window type dir /? [note the space] to get a list of switches you can use. I frequently use dir /o/s>dir.txt to get an Organized list of files and subFolders redirected to a dir.txt file in that Folder. Leave off the >dir.txt is only wanting a list on the screen but could use /p to pause it a screenful at a time.
     
    Berton, Jun 25, 2018
    #3
  4. dir Difficulties

    DIR list to text list folders but not what is in them.


    Is there a way with DIR command line via CMD or power shell to list the contents of a directory but exclude the contents of the folders and generate a a bare list(location name only). Just list the files and folders?
     
    ZippyDSMlee, Jun 25, 2018
    #4
Thema:

dir Difficulties

Loading...
  1. dir Difficulties - Similar Threads - dir Difficulties

  2. 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...
  3. how to use cmd prompt to delete files and subdirs without harming dir

    in Windows 10 Support
    how to use cmd prompt to delete files and subdirs without harming dir: I was able to use cmd to save all important files to external drives, thanks to advice from this forum. Now I want to delete files and subdirectories from default folders like Pictures, Documents, et al, but not the main folder or hidden or system files. Just the stuff I put...
  4. "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...
  5. D-link DIR-635 intrusion

    in Windows 10 Network and Sharing
    D-link DIR-635 intrusion: I have a D-link in my summer house and connect to a micro Arduino just to control the heat. So I set a port forward to the local IP of my micro in D-link. I have blocked in D-link config all subnet but the one I connect from at my flat in my city living. Seems ok that a lot...
  6. 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....
  7. User account disappear but home dir OK

    in User Accounts and Family Safety
    User account disappear but home dir OK: Hello, My computer had a glitch and after rebooting it I cannot see my account () at the login screen. I can login as administrator and I can see the home directory C:\Users\ is there with all its files. I am not very technical and I have read that recreating a new...
  8. DIR list to text list folders but not what is in them.

    in Windows 10 Support
    DIR list to text list folders but not what is in them.: Is there a way with DIR command line via CMD or power shell to list the contents of a directory but exclude the contents of the folders and generate a a bare list(location name only). Just list the files and folders? 77487
  9. File and Dir security permission settings not taking effect

    in Windows 10 Support
    File and Dir security permission settings not taking effect: I have been going nuts with this. For the past 3 days I have been getting messages saying I do not have permission to write in directories where I am listed as the owner. I have ensured that the users MyuserID, Administrators, and SYSTEM all have Full control over the...
  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"...