Here with "Old nine WinPE old peaches modify YYQ572 optimization Enhancement" For example, in his B: Disk has a regttp.cmd program. This regttp.cmd is used to set up a listening association with its documentation, and if no association is implemented, this batch can be run manually. When running it, it will automatically parallel all the icons of the music file and the associated open program.
When we need to change his display icon or open the program in parallel, it will be very troublesome and must be changed one at a time. If you use the following code, it will be very convenient for you to make bulk changes.
For example, the prepared ICO icon file is renamed with the back-stamp name of the music file, such as Mp3.ico, Wma.ico, Wav.ico, and then the following code is saved as a. bat file and is run in the directory of the ICO icon file.
Set Filename=%%~ni
echo REM this regttp. CMD is used to set up listening to the association of its documents, if no association is implemented, you can run this batch manually. >regttp. Cmd
Echo.>>regttp. Cmd
Echo PUSHD%%^~dp0>>regttp. Cmd
Echo SET tp^=%%cd%%>>regttp. Cmd
Echo.>>regttp. Cmd
For%%i In (*.ico) do (
rem Add File type
echo REG ADD hklmsoftwareclasses.%filename%/ve/d audio.%filename%/F ^>nul>>regttp. Cmd
)
For%%i In (*.ico) do (
rem Parallel file icon
echo REG ADD hklmsoftwareclassesaudio.%filename%defaulticon/ve/t reg_sz/d "%%tp%% av playback icoaudio%filename%.ico"/f^> Nul>>regttp. Cmd
)
For%%i In (*.ico) do (
REM Parallel File Open program
echo REG ADD hklmsoftwareclassesaudio.%filename%shellopencommand/ve/t reg_sz/d ""%%tp%% audio and video playback thousands of listening TTPLAYER.EXE "" "%%%%1 "/f^>nul>>regttp. Cmd
)
Echo.>>regttp. Cmd
Echo Exit>>regttp. Cmd
Exit
Where: "%tp% audio and video playback Icoaudio" is the music file of the ICO icon storage path
"%tp% audio and video playback listening TTPLAYER.EXE" is the opening program of music files
If you want to change the icon of another file type or open a program, just prepare the associated ICO file and open the program.
Note: After downloading, place the audio and video folders under "%tp% Audio-visual ico", and if not, create them yourself.