Rev 5921 | Rev 11240 | 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+ |
11210 | bpr | 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 `$$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.\ |
||
5920 | bpr | 18 | </p> |