VMS Help EXCHANGE, RENAME, Examples *Conan The Librarian (sorry for the slow response - running on an old VAX) |
1.EXCHANGE> RENAME DMA0:AVERAG.OBJ MEAN The command in this example changes the file name of the file AVERAG.OBJ to MEAN.OBJ. 2.EXCHANGE> RENAME DLA2:*.TXT *.OLD The command in this example renames all files with the file type TXT to files with the file type OLD; the file names are not changed. 3.EXCHANGE> RENAME/LOG DMA0:DATA.* NEW %EXCHANGE-I-RENAMED, _DMA0:DATA.AAA renamed to _DMA0:NEW.AAA %EXCHANGE-I-RENAMED, _DMA0:DATA.BBB renamed to _DMA0:NEW.BBB %EXCHANGE-I-RENAMED, _DMA0:DATA.CCC renamed to _DMA0:NEW.CCC The command in this example illustrates wildcard characters in the input file names. The device DMA0 contains three files with the file name DATA; the result is the renaming of all three files as displayed by the /LOG qualifier.
|