Команды SFK


    1        2        3        4        5        6        7        8        9        10    

Раздел 9. Diverse - Разное
ascii | ascii -dos | calc | cmd | data | env | fromclip | jsonform | license | number | prompt | random | ruler | spell | status | toclip | update | version | video | view | xmlform |

Help:   Рус   |   Eng        

Команда: prompt
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.