Rev 4051 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
32 | reyssat | 1 | !! +var+ +string+ |
2 | $lst_tit rename$lst_titend$type_both<br> |
||
3 | $(lst_syntax)rename $emph f$emphend</tt> <br> |
||
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 |
||
6 | the method <tt>!getfile</tt>. |
||
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>The renamed file must be located within the module, and the |
||
13 | filename $emph f$emphend should start with <tt>$$module_dir</tt>. |
||
14 | <p> |
||
15 | The command returns a string which is the new URL. The file is not |
||
16 | effectively copied or renamed on the server. |