Команды SFK


    1        2        3        4        5        6        7        8        9        10    

Раздел 7. Scripting - Скрипты
alias | batch | call | cd | clock | color | echo | for | getcwd | label | loop | mkcd | pause | require | setvar | sleep | stop | storetext | tee | time | tofile | toterm |

Help:   Рус   |   Eng        

Команда: mkcd
sfk mkcd cdname

   creates an alias batch file, remembering the current directory.
   this batch can be used later to re-enter the remembered directory.

   batch file storage path parallel to sfk

      this is default. for full details read: sfk alias

   alternative bath file path by SFK_PATH

      you may also create a separate folder for your batch files
      which must be listed in the PATH environment variable.
      then set SFK_PATH=myfolder to let sfk write into that.

   options
      -verbose   tell in detail which batch folder is used

   example:

   1. you are currently working in
         C:\Documents And Long Complicated Paths\Users\You\Work

   2. now type:
         sfk mkcd cd1
            which saves above path in a command "cd1".

   3. you go into a different directory, e.g.
         C:\Another Project\Nested Dirs\Work2

   4. now type:
         sfk mkcd cd2

   => now, anytime you type:
         cd1
            you jump instantly into
               C:\Documents And Long Complicated Paths\Users\You\Work

      and anytime you type:
         cd2
            you jump instantly into
               C:\Another Project\Nested Dirs\Work2

   if the creation of the alias fails, please type "sfk alias" to read
   about the required directories and access rights.