Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
12
Task/File-size/Batch-File/file-size-1.bat
Normal file
12
Task/File-size/Batch-File/file-size-1.bat
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
call :filesize input.txt
|
||||
echo Size of file input.txt: %res%
|
||||
call :filesize \input.txt
|
||||
echo Size of file \input.txt: %res%
|
||||
goto:eof
|
||||
|
||||
:filesize
|
||||
2>nul (
|
||||
for %%i in ("%~1") do set /a res=%%~zi
|
||||
) || set /a res=-1
|
||||
goto:eof
|
||||
2
Task/File-size/Batch-File/file-size-2.bat
Normal file
2
Task/File-size/Batch-File/file-size-2.bat
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
@echo off
|
||||
dir /a-d input.txt \input.txt
|
||||
Loading…
Add table
Add a link
Reference in a new issue