国产片侵犯亲女视频播放_亚洲精品二区_在线免费国产视频_欧美精品一区二区三区在线_少妇久久久_在线观看av不卡

服務器之家:專注于服務器技術及軟件下載分享
分類導航

PHP教程|ASP.NET教程|Java教程|ASP教程|編程技術|正則表達式|C/C++|IOS|C#|Swift|Android|VB|R語言|JavaScript|易語言|vb.net|

服務器之家 - 編程語言 - ASP教程 - ASP解壓縮(在線解壓縮類)

ASP解壓縮(在線解壓縮類)

2019-10-27 10:34asp教程網 ASP教程

ASP解壓縮(在線解壓縮類)

代碼如下:


<% 
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
'\\ 
'\\ 1. c:\windows\system32\cmd.exe 
'\\ 拷貝把本文件所在的路徑 
'\\ 
'\\ 2. 把 c:\program\winrar\rar.exe 
'\\ 拷貝把本文件所在的路徑 并改名為WinRAR.exe 
'\\ 
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
'\\ 
'\\ compressPath(byVal s) 
'\\ 壓縮文件的路徑 | 字符串變體 
'\\ 
'\\ decompressPath(byVal s) 
'\\ 解壓縮文件的文件夾 | 字符串變體 
'\\ 
'\\ compress 
'\\ 在線壓縮 
'\\ 
'\\ decompress 
'\\ 在線解壓縮 
'\\ 
'\\ POWER BY never-online 
'\\ 
'\\ EMAIL : Bluedestiny[at]126.com 
'\\ 
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 

OPTION EXPLICIT 

class COMPRESS_DECOMPRESS_FILES 

 private version, copyright 
 private oWshShell, oFso 
 private sCompressPath, sDecompressPath  

 private sub class_initialize 
 version="COMPRESS_DECOMPRESS_FILES BUILDER 20051015" 
 copyright="POWER BY MIRACLE (BLUEDESTINY)" 
 Set oFso=server.CreateObject("scripting.FileSystemObject") 
 Set oWshShell=server.CreateObject("Wscript.Shell") 
 writeLn(version+"<br>"+copyright) 
 end Sub 
 private sub class_terminate 
 if isobject(oWshShell) then set oWshShell=nothing 
 if isobject(oFso) then set oFso=nothing 
 end Sub 
 private function physicalPath(byVal s) 
 physicalPath=server.mappath(s) 
 end Function 
 private sub validateFile(byVal s) 
 if oFso.FileExists(s) then exit sub 
 if oFso.FolderExists(s) then exit sub 
 callErr "file(folder) not exists!" 
 end Sub 
 private sub createFolder(byVal s) 
 if oFso.FolderExists(s) then exit Sub 
 oFso.createFolder(s) 
 end Sub 
 private sub writeLn(byVal s) 
 response.write "<p>" + s + "</p>" + vbCrlf 
 end Sub 
 private sub callErr(byVal s) 
 writeLn "<p><b>ERROR:</b></p>" + s 
 response.End 
 end sub 
 private sub callSucc(byVal s) 
 writeLn "<p><b>SUCCESS:</b></p>" + s 
 end Sub 

 public sub compress 
 validateFile(sCompressPath) 
 oWshShell.run("WinRAR A " + sCompressPath + " " + sDecompressPath & "") 
 if Err.number>0 then callErr("compress lost!") 
 callSucc("compress <b>" + sDecompressPath + "</b> to <b>" + sCompressPath + ".rar</b> successfully!") 
 end Sub 
 public sub decompress 
 validateFile(sCompressPath) 
 createFolder(sDecompressPath) 
 oWshShell.run("WinRAR X " + sCompressPath + " " + sDecompressPath & "") 
 if Err.number>0 then callErr("decompress lost!") 
 callSucc("decompress <b>" + sCompressPath + ".rar</b> to <b>" + sDecompressPath + "</b> successfully!") 
 end sub 

 public property Let compressPath(byVal s) 
 sCompressPath=physicalPath(s) 
 end property 
 public property Let decompressPath(byVal s) 
 sDecompressPath=physicalPath(s) 
 end property 

End class 
%> 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 
<HTML> 
<HEAD> 
<TITLE> asp在線解壓縮 </TITLE> 
<META NAME="Generator" CONTENT="EditPlus"> 
<META NAME="Author" CONTENT=""> 
<META NAME="Keywords" CONTENT=""> 
<META NAME="Description" CONTENT=""> 
<style> 
* { 
 font-size:10.2pt; 
 font-family:tahoma; 

</style> 
</HEAD> 

<BODY> 
<% 
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 
'\\ 
'\\ 設有壓縮文件 compress.rar 
'\\ 需壓縮文件 decompressFolder 文件夾 
'\\ 
'\\ 將 compress.rar 解壓縮至 1 文件夾 
'\\ 將 decompressFolder 文件夾 壓縮至 2.rar  
'\\ 
'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ 

dim oExample 

set oExample=new COMPRESS_DECOMPRESS_FILES 
oExample.compressPath="decompressFolder" 
oExample.decompresspath="1" 
oExample.compress 

oExample.compressPath="compress" 
oExample.decompresspath="2" 
oExample.decompress 

set oExample=nothing 
%> 
</BODY> 
</HTML>

 

延伸 · 閱讀

精彩推薦
主站蜘蛛池模板: 免费一区 | 日韩成人在线视频 | 欧美日韩一区在线 | 午夜电影网址 | 久久99精品久久久久蜜臀 | 成人网av | 亚洲午夜精品视频 | 久久成人精品视频 | 国产精品久久久久久久午夜片 | 成年网站 | 在线色网站 | 在线免费av电影 | av官网 | 久草视频在线播放 | 欧美精品成人一区二区三区四区 | 精品在线 | 日本中文字幕免费 | 一区二区中文字幕 | 亚洲一区二区精品 | 特黄特色的大片观看免费视频 | 精品国产一区二区三区在线观看 | 久久久国产精品 | 在线色网站| 日本a v在线播放 | 黑人中文字幕一区二区三区 | 亚洲二区在线播放 | 天堂欧美城网站网址 | 亚洲一区电影 | 国产美女视频自拍 | 999精品视频| 国产成人av在线 | 欧美高清一区 | 亚洲一区在线日韩在线深爱 | 99久久夜色精品国产亚洲1000部 | 18.wxww.成人性视频高清 | 成人国产精品视频 | 亚州国产| 欧美精品网站 | 日韩电影免费观看 | 国产午夜精品视频 | 国产精品久久久久久久久 |