Multi-column DIR /v not displaying all files.

rps

Jul 6, 2008
436
6
If I use,
Code:
*DIR /Nfv /2 /v /p /a-d *
and then answer the paging prompt with A, the directory display is terminated.
Without the /v all is well.
Continuing the DIR display by answering the paging prompt with say <CR> results in a complete listing.
Using /4 yields a 3 col. display.
Using /3 with or without /v causes a "parameter is incorrect...." error.
Note: I do not have any plugins loaded.
 
May 20, 2008
11,378
98
Syracuse, NY, USA
Code:
*DIR /Nfv /2 /v /p /a-d c:\Windows\System32\

works here. When I press 'A', paging is turned off and the DIR listing is completed.

I don't think "/3" is valid.
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
WAD - the page output for /V is determined by the page size (that you set when you specified /P). There's no way that DIR can continue the /V formatted display in an unpaged format.

/4 isn't guaranteed to produce 4 columns - it will display 4 columns if the width of the longest filename * 4 is less than the screen width. You evidently have at least one filename that exceeds that limit.

There is no /3 option.
 

rps

Jul 6, 2008
436
6
"WAD - the page output for /V is determined by the page size (that you set when you specified /P). There's no way that DIR can continue the /V formatted display in an unpaged format."

"the page size (that you set when you specified /P)" - Where is this page size set?

So is it worth either changing the /p prompt to not allow a continue without paging (A) with /V or just discontinuing the /v allowing the rest of the dir to be displayed after choosing A? The help file could be clearer, not that I always review them. :oops:

"/4 isn't guaranteed to produce 4 columns - it will display 4 columns if the width of the longest filename * 4 is less than the screen width. You evidently have at least one filename that exceeds that limit."

Yes, thanks to, I believe, MS updates.

"There is no /3 option."
Yep. I didn't resort to reading docs before I tried and posted that one.

Thanks for the answers.
 

rps

Jul 6, 2008
436
6
It is worth using /1 exclusively. Less ambiguity, easier to read.
I do use a single column display the majority of the time.
However there are times that multiple column is useful. They meet a need.
This thread was started due to one of those times.
 
Similar threads
Thread starter Title Forum Replies Date
D How to use multi-line DO to loop through first level directory names Support 5
vefatica FFIND and multi-line regular expressions Support 4
D xp support and multi-license Support 5
T WAD Difference between TCC and CMD in handling multi-command lines Support 6
V V - Multi-Pane File Manager Support 14
Daniel P How to Purchase a Multi-System License for TCC? Support 2
B Alias with multi line definitions not assigned Support 6
T Fixed multi-line alias issue Support 13
T Closing multi-tab TCMD crashes Support 4
D Individual vs multi-system licenses Support 1
C Language setup files, to use in creating similar for Multi-Edit Support 2
vefatica Single-line DO inside nested multi-line DOs? Support 9
C How to? Multi-Display Configuration Support 5
C multi-INI file merging Support 1
C Forum column headings wrong? Support 4
vefatica IDE status bar row/column? Support 0
E Fixed Bug with DIR /Z displaying descriptions Support 8
J Paths shown in DIR /B Support 2
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
Jesse Heines How to? How to display picture creation date with dir command Support 6
vefatica WAD DIR.BTM? Support 11
DrusTheAxe DIR reports meaningless SYMLINK information Support 14
C show file description? with dir? Support 8
vefatica DIR /F and streams? Support 7
R How to? Dir specific file search patterns with spaces in the pathnames? Support 6
rps Dir /Nfv -> Alt-F2 Support 2
rps @FILESIZE[....,a] allocated size not matching Dir results Support 8
A TCMD - Dir Command puts out blank lines? Support 16
S Problems with dir command in the debugger Support 5
M TCC incorrect dir output since Windows 1803 Support 6
x13 Problem listing repository files using DIR http(s)://... Support 8
cxxl dir /s works in mysterious ways :( Support 4
vefatica Help nit (FFIND and DIR with /S) Support 0
N Fixed Strange dir behavior Support 6
JohnQSmith Weird DIR output (missing lines) Support 1
C 7zip with date range .vs. filelist created with dir and daterange Support 0
D Towards shared (dir-)history lists Support 3
vefatica WAD DIR /HL still gets names wrong Support 16
vefatica DIR /S /HL? Support 4
H Fixed DIR /G returns wrong sizes Support 2
nickles WAD dir.htm Support 2
vefatica DO dir in /s /a:+d /d"g:\" * ( ... ) Support 26
vefatica DIR \\.\...? Support 4
M Fixed DIR /S /B1 ignores "/S" Support 5
C tcmd.ini not loading from program dir? Support 5
D Fixed Dir /Nm:n has changed Support 1
rps How to? dir /s unexpected results Support 10
vefatica Update to current install dir? Support 8
cgunhouse Problem with "dir /=" Support 4
T dir /h error in empty directory Support 22

Similar threads