Show/Hide Toolbars

All-In-One Protector 8

Navigation: Part II - Enhanced Features > All-In-One Protector Generator - Start / Command Line options

Update project files

Scroll Prev Top Next More

 

With the command line parameter -re all files of a project can be automatically imported and updated.

 

You can select the publish options:

 

-pf cd - Publish for All Media   (creates folder \project name\Publish All Media)

-pf exe - Publish as Download version  (creates folder \project name\Publish Download)

-pf usb - Publish for USB  (creates folder \project name\Publish USB)

-pf hdd - Publish for Hard Disk (creates folder  \project name\Publish HDD)

 

Multiple output options can be combined: -pf exe+cd+usb+hdd

 

This allows implementing a batch process in case the content has changed.

 

This parameter -re requires additionally the parameter -f with the name of the project file, which should be updated.

Example

"C:\Program Files\All-In-One Protector Premium\8\aiogenerator.exe" -re -pf cd  -f "C:\myfiles\pdf-info.AIPPROJECT"

"C:\Program Files\All-In-One Protector Premium\8\aiogenerator.exe" -re -pf exe+cd  -f "C:\myfiles\pdf-info.AIPPROJECT"

 

 

The following example copies the download file into the dropbox after it was created

"C:\Program Files (x86)\All-In-One Protector 6\aiogenerator.exe" -re -pf exe -f "C:\myfiles\office-files.aipproject"

copy "C:\myfiles\Publish office-files\Publish Download\office viewer.exe" "c:\dropbox\" /Y

pause

 

 

 

Always use " if you specify a path to cover spaces in the path or filename

If only the parameter -re is used, the files are updated on the folder \project name\Work