Swiss File Knife
a command line
free external tools,
- download the free Swiss File Knife Base from Sourceforge. - open the Windows CMD command line, Mac OS X Terminal or Linux shell. - OS X : type mv sfk-mac-64.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux-64.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk prompt [text] get user input and pass it to the next command in the command chain. text formatting is possible using [Red] or [def], for details see sfk echo. default since sfk 1.9 is to convert typed chars from the current OEM to Ansi codepage. options -nocconv do not convert input from dos to ansi codepage. examples sfk -var prompt "enter your name" +setvar name +tell "hello #(name)" ask the user to enter his name, then store it in variable name, and say hello.
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.