
alias | batch | call | cd | clock | color | echo | for | getcwd | label | loop | mkcd | pause | require | setvar | sleep | stop | storetext | tee | time | tofile | toterm | Команда: batch sfk batch outfile.[bat|sh] [options]
create a default sfk script batch file.
use a filename ending with .bat to create
a normal windows batch file.
use a filename ending with .sh to create
a bash script file for use with linux
or a windows cygwin environment.
options
-full create a full file backup example script
with different commands on the same file set.
-force if output file exists already, overwrite it.
see also
sfk samp print examples for all kinds of script and
programming languages.
more in the SFK Book
the SFK Book contains a 60 page tutorial, including
long sfk script examples with input, output and
detail explanations. type "sfk book" for more.
examples
sfk batch tmp.bat
creates batch file tmp.bat with embedded sfk script.
type "tmp.bat" to run the created script.
sfk batch tmp.bat -full -force
create a large file backup example script.
overwrite an existing tmp.bat file.
sfk batch foo.sh
create a bash script file, with lf only line endings.
can also be used under windows for mingw environments.
sfk batch vedit.bat
create a batch for video editing with ffmpeg.
sfk batch gallery.bat
create batch to make a gallery html from image folder. |
![]() |