Subversion Repositories wimsdev

Rev

Rev 5920 | Rev 11210 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
32 reyssat 1
!! +var+ +string+
4562 bpr 2
$lst_tit rename$lst_titend$type_both
5921 bpr 3
  $(lst_syntax)rename $emph f$emphend</span>
32 reyssat 4
  $lst_mean Changes the reference to a file $emph f$emphend, such as a
5
  graphics file reachable by direct http, into one with a different name using
5921 bpr 6
  the method <span class="tt">!getfile</span>.
32 reyssat 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.
5921 bpr 12
  </p><p>The renamed file must be located within the module, and the
13
  filename $emph f$emphend should start with $emph$$module_dir$emphend</span>.
14
  </p><p>
32 reyssat 15
  The command returns a string which is the new URL. The file is not
16
  effectively copied or renamed on the server.
5920 bpr 17
  </p>