Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
4
Task/File-size/Batch-File/file-size.bat
Normal file
4
Task/File-size/Batch-File/file-size.bat
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
if not exist "%~1" exit /b 1 & rem If file doesn't exist exit with error code of 1.
|
||||
for /f %%i in (%~1) do echo %~zi
|
||||
pause>nul
|
||||
2
Task/File-size/Julia/file-size.julia
Normal file
2
Task/File-size/Julia/file-size.julia
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
println(filesize("input.txt"))
|
||||
println(filesize("/input.txt"))
|
||||
4
Task/File-size/VBScript/file-size.vb
Normal file
4
Task/File-size/VBScript/file-size.vb
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
With CreateObject("Scripting.FileSystemObject")
|
||||
WScript.Echo .GetFile("input.txt").Size
|
||||
WScript.Echo .GetFile("\input.txt").Size
|
||||
End With
|
||||
Loading…
Add table
Add a link
Reference in a new issue