TCC 11 - Dir /2?

Jul 26, 2008
14
0
Hi Guys,

Just found that Dir /2 or /4 doesn't work for me under TCC Prompt only Window. It does work under the TC 11 TCC Prompt DOS Window.

Windows XP SP3, TC11 Build 40.

Have I missed something?

Regards,

Ian
 

rconn

Administrator
Staff member
May 14, 2008
12,312
147
> Just found that Dir /2 or /4 doesn't work for me under TCC Prompt only
> Window. It does work under the TC 11 TCC Prompt DOS Window.
>
> Windows XP SP3, TC11 Build 40.

Not sure what you're referring to -- TCC's DIR behavior is exactly the same
whether it's stand-alone or in a Take Command tab window. (Except that
you're likely to have a larger window when running in Take Command, so if
you have LFN names > 39 characters you'll never be able to use /2 in an
80-column window.)

The /2 and /4 options are obsolete and unlikely to produce useful results
unless you either have very short LFN names, or you use the /X and/or /Z
options.

Rex Conn
JP Software
 
Jul 26, 2008
14
0
Not sure what you're referring to

Hi Rex,

If I call TCC on its own and try 'Dir /2' or 'Dir /4' it only gives me a single column of directories/files.

If I call TCMD and try 'Dir /2' or 'Dir /4' in the TCC Prompt window I get the two, or four, columns OK.

Ian

PS. The command I normally use is 'dir /2/x/p/l'
 

rconn

Administrator
Staff member
May 14, 2008
12,312
147
> If I call TCC on its own and try 'Dir /2' or 'Dir /4' it only gives me
> a single column of directories/files.
>
> If I call TCMD and try 'Dir /2' or 'Dir /4' in the TCC Prompt window I
> get the two, or four, columns OK.

You're probably comparing a much wider Take Command tab window, that is
capable of displaying at least two columns of the longest LFN name in the
directory.

Try it with the same size window, in the same directory, and you will see
the same results.

Rex Conn
JP Software
 
Jul 26, 2008
14
0
You're probably comparing a much wider Take Command tab window, that is
capable of displaying at least two columns of the longest LFN name in the
directory.

Try it with the same size window, in the same directory, and you will see
the same results.


Ah Ha!. That was it. But, I still find it strange and can only assume there was a change in moving from 4dos to tcc that I never noticed. I have always used the dir /2/x/p/l command under a 'd' alias to display 2 columns of directories/files.

So. I take it that under TCC that if it cannot display the two columns within the defined 'screen' width/columns the it reverts to single column mode? Yep. Just confirmed. Tried it in a purely 'DOS' apps/files directory and the two columns appeared OK in 80 column mode. Probably explains why I didn't come across the issue previously as I normally work in that directory.

OK. Now I know what's happening I can adjust to suit. Need to retain the 80 column for DOS apps, per the other thread.

Regards & thanks for the assist/clarification.

Regards,

Ian
 
May 20, 2008
603
0
Sammamish, WA
It seems to me that on FAT32, FAT, and NTFS, using *dir /2 or *dir /4 gives
filenames only, whether a stand-alone console or part of TCMD. However, all
my drives support LFN, so it looks like it is doing what the help claims.


TCC 11.00.40 Windows XP [Version 5.1.2600]
TCC Build 40 Windows XP Build 2600 Service Pack 3


On Thu, Feb 18, 2010 at 4:59 PM, branch <> wrote:


> Hi Guys,
>
> Just found that Dir /2 or /4 doesn't work for me under TCC Prompt only
> Window. It does work under the TC 11 TCC Prompt DOS Window.
>
> Windows XP SP3, TC11 Build 40.
>
> Have I missed something?
>
> Regards,
>
> Ian
>
>
>
>
>



--
Jim Cook
2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
Next year they're Monday.
 
Similar threads
Thread starter Title Forum Replies Date
M TCC incorrect dir output since Windows 1803 Support 6
dcantor WAD dir "ftp:// ..." fails in TCC 15 Support 7
A WAD Dir daterange + multiple path wildcards crashes tcc Support 2
E TCC dir /s command not showing all folders Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
D Differences between TCC and CMD with COPY /b Support 4
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4
Joe Caverly .BAT works in TCC-RT 25, but not in TCC-RT 26 Support 4
M Strange error messages from TCC in FTP copy Support 7
Kachupp Documentation tcc-rt versions Support 1
V Comments from a first-time user (TCC 26) Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.28 Support 0
C TCC 26 BATCOMP BTM problems? Support 5

Similar threads