Tomorrow I will see an article on the Internet that uses WinRAR for Online Pressure relief operationsArticleI made one by myself and found it was good.
Role.
It is said that wscript. Shell is unavailable to many virtual hosts, but I have tried it in a few friends' hosts. It's a bit strange...
Below is the question. Let's talk about the source code. I have a lot of nonsense ..
KeyCode:
Server. Createobject ("wscript. Shell" cmd.exe C (server. mappath (".") & "/rar.exe parameter"). stdout. readall
You can use rar.exe -hor to directly run rar.exe to obtain the rar.exeurl ..
For example:
Compress all the files under the current directory (package folder) to webroot.rar. The Code is as follows:
Server. Createobject ("wscript. Shell" cmd.exe C (server. mappath (".") & "/rar.exe A webroot.rar.-R"). stdout. readall
The package file list, compression, and decompression operations can be performed, but the files in the package cannot be deleted. It's really strange. After trying for a long time, I won't be able to get any results. Who told me what Ko came out and told me.