The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Backup vs2010 project folder
#1
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
Code:
Copy      Help
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
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)