- Jul
- 447
- 6
What am I doing wrong?
Expected the @filesize allocated to be the same are that show in the dir command.
The allocated size parameter causes a error when used with a Network Attached Storage mapped drive. (Y: drive)
I know about the @FILESIZE[] warning regarding network drives, but did not expect an error.
Is there any way to prevent this error and get some type of allocation size info?
Expected the @filesize allocated to be the same are that show in the dir command.
Code:
v23.00.25_$dir /a: /s /nfv /h /u2 *
Total for: C:\JPSoft\tcmd23x64\
772,691,755 bytes in 167 files and 3 dirs 773,066,752 bytes allocated
v23.00.25_$echo %@filesize[/s,*,bc]
772,691,781
v23.00.25_$echo %@filesize[/s,*,bc,a]
1,545,740,288
v23.00.25_$echo %@files[/s /h,*,-d]
167
The allocated size parameter causes a error when used with a Network Attached Storage mapped drive. (Y: drive)
Code:
v23.00.25_$dir /a: /s /nfv /h /u2 Y:\*
Total for: Y:\
553,641,430 bytes in 6 files and 2 dirs 553,644,032 bytes allocated
v23.00.25_$echo %@files[/s,/h,Y:\*,-d]
6
v23.00.25_$echo %@filesize[/s,Y:\*,bc]
553,641,430
v23.00.25_$echo %@filesize[/s,Y:\*,bc,a]
TCC: (Sys) An unexpected network error occurred.
"Y:\#recycle\*"
1,107,296,256
Is there any way to prevent this error and get some type of allocation size info?