In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces CHM how to achieve document unpacking batch processing, the article introduces in great detail, has a certain reference value, interested friends must read it!
HH's temper is that the target folder path does not support spaces or quotation marks, so it becomes a bit more complicated, otherwise one line of command is sufficient
Other codes are not difficult, but focus on practicality.
The batch code is as follows:
The code is as follows:
The format of the main command is as follows
:: hh-decompile destination folder CHM source file name
The destination folder and file name cannot be in quotation marks, and the destination folder cannot contain spaces
@ echo off & setlocal enabledelayedexpansion
Title CHM document unpacking batch By SunTB
If exist "% ~ dpnx1" (
Set file=%~dpnx1
Set file_pth=%~dp1
Set fileholders, pthmans, lanterns, lambda, mahogany, etc.
Set file_name=%~nx1
) else (
Echo.&echo Please enter the full path of the CHM file:
Echo.&set / p file=
Set filekeeper files: "=!
Call: pthquery
)
If / I not "! file:~-4!" = ".chm" (echo.&echo the file type name is not .CHM, press any key to exit & pause > nul&exit)
Set savekeeper pthorium fileholders name: =!
Cd / d "! file_pth!"
Hh-decompile! savehands, file_name, file_name!
Start "!"! file_pth!\! saveflowers, pthpurs, flowers, squares, squirts, squares, squares, etc.
Exit
:: extract the folder path and file name from the manually entered path
: pthquery
Set / a pthx+=1
If "! file:~-%pthx%,1!" = "\" (
Set fileholders, televisions, televisions, mosaics, etc.
Set fileholders nameplates filesupery colors color% PTX%!
Set fileholders nameplates fileholders namevision 1!
Goto: eof
)
Goto: pthquery
The above is all the contents of the article "how to unpack and batch CHM documents". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.