Rev 5921 | Rev 11240 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5921 | Rev 11210 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | !! +var+ +string+ |
1 | !! +var+ +string+ |
- | 2 | tit:rename |
|
2 |
|
3 | type:$type_both |
3 |
|
4 | syntax:!rename `f' |
4 |
|
5 | mean:Changes the reference to a file `f', such as a graphics file reachable by direct http, \ |
5 | graphics file reachable by direct http, into one with a different name using |
- | |
6 | the method <span class="tt">!getfile</span>. |
6 | into one with a different name using the method <span class="tt">!getfile</span>.\ |
7 | <p> |
7 | <p>\ |
8 | This command is useful with exercises where important information is |
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 |
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 |
10 | name of the multimedia file that otherwise would give clues to the solution\ |
11 | of the problem. |
11 | of the problem.\ |
- | 12 | </p><p>\ |
|
12 |
|
13 | The renamed file must be located within the module, and the filename `f' should start \ |
13 |
|
14 | with `$$module_dir'.\ |
14 | </p><p> |
15 | </p><p>\ |
15 | The command returns a string which is the new URL. The file is |
16 | The command returns a string which is the new URL. The file is not\ |
16 | effectively copied or renamed on the server. |
17 | effectively copied or renamed on the server.\ |
17 | </p> |
18 | </p> |