Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How zip my files
Message
From
20/07/2008 05:30:43
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01332472
Message ID:
01332610
Views:
11
>Stefan, there is no problem in codes. but i want only zip , cdx and dbf files from a folder. Because in i folder there are many diffrent types of files are presnt.
>lcSource = "F:\project\school\*.cdx"
>thanks

What I meant is that you can skip those files which do not match your criteria, e.g.:
For Each ofile In oShell.NameSpace(m.lcSource).items
	If Lower(JustExt(m.oFile.Name)) == 'cdx'
		oShell.NameSpace(m.lcZipFileName).copyhere(ofile)
	Endif
Endfor
hth
-Stefan
Previous
Reply
Map
View

Click here to load this message in the networking platform