Subversion Repositories wimsdev

Rev

Rev 11240 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. !! +var+ +string+
  2. tit:rename
  3. type:$type_both
  4. syntax:!rename ``f''
  5. mean:Changes the reference to a file ``f'', such as a graphics file reachable by direct http, \
  6.   into one with a different name using the method <span class="tt">!getfile</span>.\
  7.   <p>\
  8.   This command is useful with exercises where important information is carried\
  9.   by multimedia files (pictures, audios, movies). It can be used to hide the\
  10.   name of the multimedia file that otherwise would give clues to the solution\
  11.   of the problem.\
  12.   </p><p>\
  13.   The renamed file must be located within the module, and the filename ``f'' should start \
  14.   with ``&#36;module_dir''.\
  15.  </p><p>\
  16.   The command returns a string which is the new URL. The file is not\
  17.   effectively copied or renamed on the server.\
  18.   </p>
  19.