02-09-2012, 05:44 PM
i am trying to write a small macro which does zip my current project and upload it to my ftp server.
what is the best way to exclude some file extensions not to be included in the zip for upload?
Macro pm32ftp
file extensions to be ignored are pdb,vhost.exe,vhost.exe.config,vhost.exe.config and maybe the obj folder.
so i guess i need to generate a file list with exclusions.
thanks
what is the best way to exclude some file extensions not to be included in the zip for upload?
Macro pm32ftp
str folder = "E:\Projektmanager\Projektmanager 3"
str warnings
str zipname.timeformat("E:\Projektmanager\{MMM-dd-yyyy}-{HH'h'mm}_pm3.zip")
zip zipname folder 0 warnings
file extensions to be ignored are pdb,vhost.exe,vhost.exe.config,vhost.exe.config and maybe the obj folder.
so i guess i need to generate a file list with exclusions.
thanks