call createTxtfileWithSeq()
call zipFile("D:\TestData\MPCI\80\vbs")
Function createTxtfileWithSeq()
set fso=createobject("Scripting.filesystemobject")
for i=0 to 3
for j=0 to 9
if i=0 and j=0 then
j=j+1
end if
if i=3 and j=2 then
exit for
exit for
end if
set myfile=fso.createtextfile("D:\TestData\MPCI\80\vbs\ycap_ls_201303"&i&j&".txt",True)
next
next
myfile.close
end function
Function zipFile(path)
dim objfolder
dim folderpath
dim folderinfo
folderpath=path
set objfolder=createobject("scripting.filesystemobject")
set folderinfo=objfolder.getfolder(folderpath)
set ffiles=folderinfo.files
for each f1 in ffiles
set oExec = createobject("wscript.shell").exec("7z a -tgzip "&folderpath&"\"&f1.name&".gz "&folderpath&"\"&f1.name)
'msgbox folderpath&"\"&f1.name
next
end function
分享到:
相关推荐
Ofcourse when using regular TStream decendants in D4,4,BCB4,and 5, you cannot create Zip64 archives. If you use Delphi 6, 7, or BCB 6, you don't have to worry about any of this as the normal TSTream ...
"""Creates examples for the training and dev sets.""" examples = [] for (i, line) in enumerate(lines): if i == 0: continue guid = "%s-%s" % (set_type, i) if set_type == "test": label = "0" ...
It will create an experiment directory in `./logs`, and store the checkpoints and rendering examples there. 测试 Once you have the experiment directory (downloaded or trained on your own) in `./logs...
Otherwise, to download, click the DOWNLOAD ZIP button, uncompress and rename the uncompressed folder Adafruit_GFX. Confirm that the Adafruit_GFX folder contains Adafruit_GFX.cpp and Adafruit_GFX.h. ...
It will allow you to graphically design your message box, specify how you want it to look and will create the source code for you and put it into the clipboard where you <END><br>47,vb2word.zip ...
It can post messages and recieve messages through the internet.<END><br>8 , optiondemo.zip This example demonstrates how to create realistic Option Buttons in Visual Basic.<END><br>9 , mencrypt....
<END><br>6 , vbo_controlframe.zip Create your own system button such as a Maximize, Minimize, Close, and many others with ease! <END><br>7 , vbo_ctextbox.zip This class makes using the Textbox ...
本文将深入探讨"sockserver_and_sockclient_of_windows.zip"这个压缩包所包含的知识点,主要涉及的是Server_Sock服务器端和Client_Sock客户端的实现。这个压缩包提供了一个简单的模板,用于学习和参考Windows环境下...
It will create an experiment directory in `./logs`, and store the checkpoints and rendering examples there. 测试 Once you have the experiment directory (downloaded or trained on your own) in `./logs...
ish), just read the readme.txt in the zip<END><br>4,CODE_UPLOAD76727112000.zip This shows you the basics of using Direct Draw and Direct Sound. It shows you how to create a sprite and move it ...
/deployment Inno Setup script to create setup package (see /deployment/readme) /dotnet source code of WinSCP .NET assembly /libs 3rd party libraries WinSCP homepage is http://winscp.net/ See the ...
It shows how to create, store and save a password to the registry and also encrypts it to keep out prying eyes.<END><br>32,delay.zip This is a rough translation of the GetTickCount API and ...
Does NOT use Excel automation.<END><br>22 , Protect.zip Protect your folders and applications,Please read the Readme.txt file.<END><br>23 , SplitFile.zip File Splitter enables you to split ...
1. create.text包含创建5个数据库表(包括定义所有主键和外键约束)的SQL语句。 2. populate.txt包含用来填充这些表的SQL INSERT语句。 这些文件中的SQL语句依赖于具体的DBMS,因此应该执行适合于你的DBMS的那个。...
touch --create file create a directory at current directory example touch fs.txt virus --virus file block_id create a virus at current directory, example virus fs.txt block_id check --check check ...
waiter.zip Learn how to create new processes and how to efficiently manage them.(13KB)<END><br>50,SharedMemIpc_demo.zip A client-server model using shared memory for interprocess communication...
描述提到"this code is matlab and create ann.",意味着这个压缩包内包含的是使用MATLAB编程语言编写的创建神经网络的代码。 MATLAB是一种广泛应用于科学计算、数据分析和工程应用的高级编程环境,尤其在处理数值...
5. Create fonts.scale and fonts.dir # mkfontscale && mkfontdir # fc-cache 6. Add the new font directory to the X11 font path # chkfontpath --add /usr/share/fonts/truetype 7. Restart X font server # /...
Ctrl L, resetcls, clearClear screenmkdirNew-Item -ItemType DirectoryCreate a new foldertouch test.txtNew-Item -Path test.txtCreate a new empty filecat test1.txt test2.txtGet-Content test1.txt, test2....
基于C语言开发的FAT 文件系统源码+项目说明+实验报告(小组课程设计).zip 【1】项目代码完整且功能都验证ok,确保稳定可靠运行后才上传。欢迎下载使用!在使用过程中,如有问题或建议,请及时私信沟通,帮助解答。 ...