%GetDocs2Ram%    Show Routine Code    Author: Siegfried


Version: 1  -  Date: 2007-02-15

 

Example calls:
%GetDocs2Ram% "MyFolder_in_OutDir"
%GetDocs2Ram% "sfx"
%GetDocs2Ram% "force_sfx"

Remarks:
Transfers the files that have been collected by the "%GetDocs%" calls to the RamDrive on CD.

Parameter 1 determines the method:

If a folder name is specified as param. 1, the files will be transferred to a folder with that name in the root of the PEbuilder out-directory.
From there, your postprocessing module has to take over.
Note for Reatogo users: no foldername must be specified. Just use %GetDocs2Ram% without parameter. The files will go to "OutDir\$ramdrv$\$profiles$" and will be transferred to CD by the integrated SFX of postprocessing.

Parameter 1 = "sfx" will compress the files into an SFX-EXE and a start-CMD will expand it to the RamDrive before the program is started. This method does not require postprocessing.
Note for Reatogo users: "sfx" must not be specified. Just use %GetDocs2Ram% without parameter. The files will go to "OutDir\$ramdrv$\$profiles$" and will be transferred to CD by the integrated SFX of postprocessing.

Parameter 1 = "force_sfx" is the universal setting.
It will for non-Reatogo AND for Reatogo users create a SFX to be expanded to the RamDrive by a start-CMD just before the program is started.

In essence: use %GetDocs2Ram% "force_sfx"
unless it is absolutely essential to have the profile files already on the RamDrive once booted.