PDA

View Full Version : Install a file if size > than X



NewsArchive
02-24-2011, 01:42 AM
Hi all,

I need to install a TPS file ONLY if the size is bigger than X
(ie if it is empty)

Is this possible please ?

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"

NewsArchive
02-24-2011, 01:44 AM
Hi JP,

> I need to install a TPS file ONLY if the size is bigger than X
> (ie if it is empty)
>
> Is this possible please ?

Very easy. See attached screenshot. Use the "Get File Info..." script
function to retrieve the size of the file. Then a simple "If..." Statement
and you are done.

Does this help?

Friedrich

NewsArchive
02-24-2011, 01:44 AM
Errr - yes it does

And I had looked all over the place before asking here

Even lifted the carpets to check if by any chance .... <g>

Merci Fredrich

JP

--
Merci
Cordialement - Best regards
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com/database_migration.html Certified by Microsoft : "Works
with Vista" & "Works with Windows Server 2008"

NewsArchive
02-24-2011, 01:45 AM
> Errr - yes it does
>
> And I had looked all over the place before asking here
>
> Even lifted the carpets to check if by any chance .... <g>
>
> Merci Fredrich

:-) You are very welcome!

Friedrich