dir command

About this tag
The dir command is a legacy DOS command used in Windows to list directory contents. Discussions on WindowsForum.com cover its behavior with input redirection, limitations in displaying military time and seconds, and unexpected error messages like '226 Transfer complete' when querying non-existent files. Users also troubleshoot issues where the dir command fails when redirecting output to a network printer, encountering access denied errors despite successful net use connections. These threads highlight practical challenges with the dir command in modern Windows environments, including Windows 7 and Windows Server 2008 R2, and explore workarounds such as using PowerShell for more precise file timestamp information.
  1. M

    Windows 7 Input redirection does not work with DOS commands

    I was trying to get the 'CD' (change directory) DOS command to work with input redirection (left arrow), but could not do so, tho, thank goodness, I found PUSHD&POPD so I no longer need CD in my .BAT now. However, I could not get any of these commands to work either: TYPE, MORE, and especially...
  2. M

    Windows 7 Win7 how to display military time and seconds in a DIR command

    Hardware/Software . existing HP notebook with Win7 32bit Symptoms . to diagnose a virus attack, it helps to know, to the second, when a file was updated. With only a sorted ADMIN DIR output B 4 the restore, it could only log to the minute. Tho I eventually saw the files it created, seconds...
  3. News

    "226 Transfer complete" message when you run the ls or dir command against a file that does not exis

    Fixes an issue in which you receive a "226 Transfer complete" message unexpectedly after you run the ls or dir command in Windows 7 or in Windows Server 2008 R2. This issue occurs after you install hotfix 2383827. Link Removed
  4. L

    Windows 7 NET USE Problems

    Hi, my situation is this: imagine a place with 6 computers, they all have the same windows 7 ultimate instalation. one of them has a printer, a LX-300, shared as "pacote". I want to print remotely, using net use command. I write net use lpt2: Link Removed it gives me back: OK. if I write...
Back
Top