Knowledge and references to share

echo ; set +v ; function GOTO { true; }; # > NUL && GOTO WIN
# I reduced the preamble to the line above
# Reference:
# http://blog.bigsmoke.us/2007/06/11/microsoft-batch-file-meets-bash-shellscript

# bash part, replace it to suit your needs
echo Bash script commans should run here.
exit 0
 
:WIN
@ECHO OFF
CLS
echo Window Batch Commands should run here.

Leave a comment