PDA

View Full Version : SB 7.7 Questions



NewsArchive
10-06-2012, 02:44 AM
1. In the documentation it states that I can have multiple wildcards
when I
use the Handle File Listing for the Load File LIst and Calculate File
size operations.
I cannot get this to work. In the Path name, I enter %Folder%\*.dat;
*.tps or
%Folder%\*.dat; %Folder%\*.tps. (%Folder% contains D:\APPS\TTG) Neither
work.

2. Can I use the File List created in the Handle File Listing - Load
File List operation variable
to be the Source File Specification in the Zip Files function?

TIA, Dee


--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-06-2012, 02:45 AM
Hi Dee,

> 1. In the documentation it states that I can have multiple
> wildcards when I use the Handle File Listing for the Load
> File LIst and Calculate File size operations.
> I cannot get this to work. In the Path name, I enter
> %Folder%\*.dat; *.tps or %Folder%\*.dat; %Folder%\*.tps.
> (%Folder% contains D:\APPS\TTG) Neither work.

%Folder% should be %FOLDER% (uppercase).

For example: %FOLDER%\*.exe;*.dll

> 2. Can I use the File List created in the Handle File Listing
> - Load File List operation variable to be the Source File
> Specification in the Zip Files function?

You can't use is directly. The return value is some kind of a QUEUE
structure. You have to convert it to a LSZip File Specification (see
attached code snippet -- Lines 30-35).

Friedrich

NewsArchive
10-06-2012, 02:46 AM
Friedrich - thanks again.

Dee

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-09-2012, 05:33 AM
Friedrich - please remember to save the path with the file name so I can
create the list of files to backup from the File LIst created from the
Handle File Listing.

TIA, Dee

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-09-2012, 05:35 AM
Dee,

> Friedrich - please remember to save the path with the file name so
> I can create the list of files to backup from the File LIst created
> from the Handle File Listing.

Already added to SB8...

Friedrich

NewsArchive
10-09-2012, 05:36 AM
Friedrich: Any way I can get this before SB8 or is SB8 due out shortly?

Thanks, Dee.

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-09-2012, 05:36 AM
Dee,

>
> Friedrich: Any way I can get this before SB8 or is SB8 due out shortly?
>

SetupBuilder 7.7 Build 3805 was the last update for SB7. The next release
will be SB8.

Friedrich

NewsArchive
10-09-2012, 05:37 AM
Please ignore last post - you are already doing this.

Dee

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-09-2012, 05:37 AM
Friedrich - in your code snipit - how big or how many characters can the
%ZIP_SPEC% variable be?

Dee

--
Darrel (Dee) Witham
Professional Data Services, Inc

NewsArchive
10-09-2012, 05:38 AM
Please ignore - I found the answer. Where else - in the documentation.

--
Darrel (Dee) Witham
Professional Data Services, Inc