odd behavior of "dir"

Oct 31, 2012
1
0
In the interest of saving disk space, I've activated deduplication on my ntfs-formatted drives with Windows 8 (with the powershell's "Enable-DedupVolume" command) and it has definately had a positive effect for my previously-near-full hard drives.

However, I like take command and unforunately now, running a simple "dir" gives me all sort of wierdness. Here's a sample listing:

[C:\Program Files\JPSoft\TCMD14x64]dir "m:\Virtual Machines\New folder"

Volume in drive M is 2T6 Serial number is cce3:2649
Directory of M:\Virtual Machines\New folder\*

10/21/2012 3:04 <DIR> .
10/21/2012 3:04 <DIR> ..
10/21/2012 3:04 <DIR> Other 64-bit.vmx.lck
9/09/2012 15:12 <SYMLINK> Other 64-bit-s001.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s001.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s002.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s002.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s003.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s003.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s004.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s004.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s005.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s005.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s006.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s006.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s007.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s007.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s008.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s008.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s009.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s009.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s010.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s010.vmdk]
9/09/2012 15:12 <SYMLINK> Other 64-bit-s011.vmdk [M:\Virtual Machines\N
ew folder\Other 64-bit-s011.vmdk]
9/09/2012 15:12 8,684 Other 64-bit.nvram
9/09/2012 15:07 920 Other 64-bit.vmdk
9/09/2012 15:07 0 Other 64-bit.vmsd
9/09/2012 15:12 2,135 Other 64-bit.vmx
9/09/2012 15:07 267 Other 64-bit.vmxf
9/09/2012 15:09 <SYMLINK> vmware-0.log [M:\Virtual Machines\New folder\
vmware-0.log]
9/09/2012 15:12 <SYMLINK> vmware.log [M:\Virtual Machines\New folder\vm
ware.log]
3,771,367 bytes in 18 files and 3 dirs 3,788,800 bytes allocated

whereas the output of cmd.exe is:

C:\Users\ctimm_000>dir "m:\Virtual Machines\New folder"
Volume in drive M is 2T6
Volume Serial Number is CCE3-2649

Directory of m:\Virtual Machines\New folder

10/21/2012 03:04 AM <DIR> .
10/21/2012 03:04 AM <DIR> ..
09/09/2012 03:12 PM 327,680 Other 64-bit-s001.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s002.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s003.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s004.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s005.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s006.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s007.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s008.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s009.vmdk
09/09/2012 03:12 PM 327,680 Other 64-bit-s010.vmdk
09/09/2012 03:12 PM 65,536 Other 64-bit-s011.vmdk
09/09/2012 03:12 PM 8,684 Other 64-bit.nvram
09/09/2012 03:07 PM 920 Other 64-bit.vmdk
09/09/2012 03:07 PM 0 Other 64-bit.vmsd
09/09/2012 03:12 PM 2,135 Other 64-bit.vmx
10/21/2012 03:04 AM <DIR> Other 64-bit.vmx.lck
09/09/2012 03:07 PM 267 Other 64-bit.vmxf
09/09/2012 03:09 PM 207,289 vmware-0.log
09/09/2012 03:12 PM 209,736 vmware.log
18 File(s) 3,771,367 bytes

(the output of powershell is also correct.)

Apparently take command thinks my folder is just full of symlinks except for a few files which were presumably too small to dedup.
 
Similar threads
Thread starter Title Forum Replies Date
Charles Dye Odd behavior after using OPTION "Advanced" tab Support 2
Fross Odd IF behavior Support 3
J Odd OPTION behavior Support 1
R Odd Behaviour With NET USE Support 3
G Odd problem - screen brightness Support 4
mfarah WAD Odd behaviour with command-line arguments on TCMD. Support 7
Dan Glynhampton Documentation v15 help: More odd mailto: links in the help Support 8
D odd experience updating tcmd 13 Support 2
H Very odd issue with Help in 12.10.67 Support 3
J Odd V12 TCMD issue Support 5
H @XMLNODES - New behavior? Support 3
Jesse Heines Strange Line Wrapping Behavior Support 14
H Behavior change re piping a string to a Java program Support 1
Jay Sage Baffling Behavior With TPIPE Support 5
D Pasting Unicode data has different behavior on TCC and CMD Support 2
P "Set" command behavior - a bug? Support 3
P LOG command behavior Support 3
I Puzzling Behavior of TDRV and DEL Support 2
N Fixed Strange dir behavior Support 6
A Inconsistent @WINPOS // ACTIVATE /POS= behavior Support 0
P Strange mouse behavior with list Support 2
R Find in screen buffer - find next behavior Support 0
D v20 code page behavior changes Support 2
D Strange DO behavior with /O Support 5
Jay Sage Change in Behavior of Activate Command Support 4
deleyd Fixed Behavior different than CMD Support 1
jwiede Difference in "FOR /F" behavior (?) Support 1
R Difference in behavior of RMDIR vs. CMD.EXE? Support 5
D Fixed Change in behavior of variable expansion between 16 and 17 Support 3
D Unexpected behavior Support 8
D Bash-like Esc->Backspace behavior Support 4
C ZIP behavior Support 5
M How to? Work around an unexpected and very inconvenient behavior of TCC... Support 26
A expected behavior of move /sx Support 14
M WAD A complaint regarding a very irritating TCC installation behavior... (Bug?) Support 4
S Inexplicable behavior difference in nearly identical shortcuts Support 6
Peter Bratton @ping behavior change Support 2
vefatica SHORTCUT behavior (Win7) Support 3
M A question about new behavior that’s a minor irritation… Support 16
M Strange behavior... Support 2
S MSGBOX - inconsistent behavior Support 1
vefatica @REGEX: behavior vs. documentation Support 2
vefatica Strange behavior reloading SHRALIAS sav files. Support 1
S Strange CHKDSK behavior Support 6
M (Somewhat unbelievable) Do While Behavior/Question Support 1
S RECYCLE /P - unexpected behavior 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

Similar threads