把文件开头的去掉应该可以
1文件.vbs去掉以下几行- Option Explicit
-
- Dim wordApp, wordDoc
- Dim folderPath, currentFile
- Dim fso, folder, files, file
- Dim fileArray(), fileName, fileNumber
- Dim i, j, temp
复制代码 2目录.vbs去掉以下几行- Option Explicit
-
- Dim objFSO, objFolder, objTextFile, objFile ' Declare variables
- Dim strDirectory, strFile, currentDate, chineseDayOfWeek, formattedDate, formattedTime, currentTime
- Dim dictFiles, key, arrKeys, i ' Additional variables for sorting
复制代码 把开头的几行删除,然后合并在一起试下,应该可以 |