![]() However, if you want to rename only a group of files with a specific format, you must omit the asterisk (*) and specify the command's target extension. The previous steps rename every file within the location. Once you complete the steps, the file extension will be replaced with the new extension in the command. This example without wildcards (*) changes the only extension of a single file from ".txt" to ".doc": ren vacation_2022_notes.txt vacation_2022_notes.doc For instance, this command changes the extension from ".txt" to ".doc" compatible with Microsoft Word for the files in the location: ren *.txt *.doc In the command, change "OLD-EXTENSION" and "NEW-EXTENSION" with the old and new file extensions. ![]()
0 Comments
Leave a Reply. |