I have #BUNDLE FILE ... almost done.
Syntax will be the following:
'---Add additional files
#BUNDLE File "ID", "SourceFile", "DestinationPath" [, DeleteOnClose="0", ExtractOnRun="1", ReplaceExisting="0", CreateFullPath="0"]
After #BUNDLE File ... there will be:
- optional file ID. If empty an auto-numeration FILEXXXX will be generated
- Source full path and file name (relative path to current script is supported)
- Destination path
- up to 4 optional parameters. If not specified default values will be used
- DeleteOnClose. If 1, file will be deleted after script execution. Default = 1
- ExtractOnRun. If 1, file will be extracted on disk before script execution. Default = 1
- ReplaceExisting. If 1, file extraction will replace already existing file with the same name. Default = 0
- CreateFullPath. If1, if destination path does not exists will be created otherwise file will not be extracted. Default = 1
Example:
'---Add additional files
#BUNDLE File "MyID", ".\MyFirstApplication_DB.accdb", "", DeleteOnClose="0", ExtractOnRun="1", ReplaceExisting="0", CreateFullPath="0"
#BUNDLE File "", ".\MyFirstApplication_Excel.xlsx", ""
#BUNDLE File "", ".\MyFirstApplication_DB_1.1.2.sql", ".\DB\SQL\", DeleteOnClose="0", ExtractOnRun="1", ReplaceExisting="1", CreateFullPath="1"
Any suggestion?
Any file type to test?
Bookmarks