about summary refs log tree commit diff stats
path: root/BuildRun.bat
diff options
context:
space:
mode:
authorJoe DF <joedf@live.ca>2018-07-12 10:09:50 -0400
committerJoe DF <joedf@live.ca>2018-07-12 10:09:50 -0400
commit0eceb10024d66033c7a567387a80e664c5ebb4e6 (patch)
treeb652d47aa95db92e22abc25d78e5a87b2953662c /BuildRun.bat
parentf2c2b2bb0d2aa0046784cfb708e3c918e8f24d4b (diff)
downloadbase64-0eceb10024d66033c7a567387a80e664c5ebb4e6.tar.gz
Usage examples and info
Diffstat (limited to 'BuildRun.bat')
-rw-r--r--BuildRun.bat13
1 files changed, 12 insertions, 1 deletions
diff --git a/BuildRun.bat b/BuildRun.bat
index 874ac75..121bd4b 100644
--- a/BuildRun.bat
+++ b/BuildRun.bat
@@ -3,5 +3,16 @@ mkdir bin 2>NUL
 cls
 echo compiling...
 gcc test.c base64.c -o bin\test.exe
+gcc b64f.c base64.c -o bin\b64f.exe
 echo running...
-bin\test.exe
\ No newline at end of file
+bin\test.exe
+echo.
+echo Encoding test image "picture.png" to "picture.b64.txt"...
+bin\b64f.exe e picture.png picture.b64.txt
+echo.
+echo Decoding test image from "picture.b64.txt" to "picture.b64.png"...
+bin\b64f.exe d picture.b64.txt picture.b64.png
+echo.
+echo Done.
+echo See files manually if the programmed works correctly.
+pause
\ No newline at end of file