⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.frm

📁 文件自动解压缩程序
💻 FRM
字号:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   6450
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   4815
   LinkTopic       =   "Form1"
   ScaleHeight     =   6450
   ScaleWidth      =   4815
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer Timer1 
      Interval        =   1000
      Left            =   4080
      Top             =   120
   End
   Begin VB.FileListBox File1 
      Height          =   6210
      Left            =   120
      TabIndex        =   0
      Top             =   120
      Width           =   4575
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Form_Load()
File1.Refresh
File1.Path = App.Path & "\zipfile"
Set fs = CreateObject("Scripting.FileSystemObject")
Dim CRun As New CrunAndWait

Do While File1.ListCount <> 0
If File1.ListCount = 0 Then
  Unload Me
  Exit Sub
Else
  File1.ListIndex = 0
End If

CRun.RunWinAndWait App.Path & "\gzip.exe -d " & File1.Path & "\" & File1.FileName
'Debug.Print File1.Path & "\" & Left(File1.FileName)
Set datafile = fs.GetFile(File1.Path & "\" & Left(File1.FileName, Len(File1.FileName) - 2))

datafile.Move ("D:\Extract\openzipfile\")
File1.Refresh
Loop
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -