Modify the batch file name suffixes

Recently on the phone screen is too small class Mu feel uncomfortable, so he wanted to copy the video playing on your PC (no installation of broadband, it can only play offline). But mooc course format is not .mp4 format, you need to modify the batch file name suffix while the computer automatically adapting the Open, modify the batch method is given below.
This method is actually quite simple mainly in three steps:
1) Create a txt file in the file you want to convert the file folder directory (that is, the txt file and the file format to be converted in the agreed path). Then edit the txt, direct input (see screenshot):
Here are just my own need to code, modify according to their circumstances differ, explained in detail below
the meaning of this code are as follows: ren represent renamed, the latter with English character spaces. Then * here is the format before you convert the file, such as .txt .doc and so on. Here use. Wildcard means all file suffixes in this directory are modified. Then a space under the English format. Next is the .mp4 . Here is what I need to convert mp4 format, can be modified according to your own needs. So this code mode: blank in the English format ren + + + + file formats to be converted suffix + + space in English format + + + After the conversion format you want suffix + *.
2) The saved as .bat txt file. Figure:
Note that all file type to save
file form after storage as follows:
.bat file here is the window batch file
3) and double-click the .bat file, you may notice that the screen flashed a black screen.

Curious about this situation I can whisper yo!

Released three original articles · won praise 3 · Views 569

Guess you like

Origin blog.csdn.net/NIUNIUDEDALAO/article/details/104735825