If the file marked as active is not the one you want to
use, hit Esc, and then hold the Ctrl key while clicking another file. If the
new file was highlighted, it will become deselected??”in this case, just Ctrlclick
the file once more to reselect it. Then, press F2 again to show the text
field.
Rename the active file as desired, and press Enter when you??™re done. The
active file keeps its new name, and then Explorer assigns the same name??”
plus a number, in parenthesis??”to all the other files. Table 2-2 shows what
happens when you rename files this way.
Although Explorer doesn??™t show you a preview of your new filenames, you
can undo a multiple rename operation as easily as a single rename operation
by pressing Ctrl-Z once for each file that was renamed. Want to undo a single
rename of 17 files? You??™ll need to press Ctrl-Z 17 times.
Solution 2: Use the Command Prompt
An alternative is to use the ren command (see Chapter 9), either directly from
the Command Prompt (cmd.exe), or from a batch file or PowerShell script.
First, use the cd command, also explained in Chapter 9, to change the working
directory to the folder containing the files you wish to rename. For
example, type:
cd c:\stuff
to change to the C:\stuff folder. If the folder name contains a space, enclose
it in quotation marks, like this:
cd "c:\Progam Files\stuff"
Next, use the ren command to rename the file; the general syntax is:
ren source destination
where both source and destination can be any combination of permissible
characters and wildcards.
Pages:
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119