PDA

View Full Version : MOVE local file



NewsArchive
10-15-2008, 01:36 AM
I find that (contrary to the help info), the Move Local File Destination
needs folder PLUS FILENAME.
When I just use a destination path (assuming the same name), nothing
happens.

This is the latest update.

Other than that, it's working well: my current upgrade installer requires
different operations on a file, depending upon its date wrt another file.
To my pleasure, SB a) has the function to do this and b) it works <g>

Am currently enjoying debugging my script (although it has GPF'd on me
several times, but workable)

Steve

NewsArchive
10-15-2008, 02:27 AM
Steve,

We'll improve this in the next documentation update, thank you. If you move
files with wildcards, the "Destination" is only a path. If you move a
specific file, the "Destination" is the path *and* the filename. BTW, the
same is true for "Copy File(s)..."

At the moment the documentation says (for Destination): "String that
specifies destination directory and/or file". I agree, this is confusing.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-16-2008, 02:08 AM
Friedrich,

May I suggest that the nicest way for it to work with a single file would
be:

* if you supply a single file destination folder & name, it is moved &
renamed to there
* if you supply a single file dest. folder, it is moved there, using the
original file name

This is the way that the Clarion COPY command works... and (not
surprisingly) I find it intuitive.

Steve

NewsArchive
10-16-2008, 02:09 AM
Steve,

> May I suggest that the nicest way for it to work with a single file would
> be:
>
> * if you supply a single file destination folder & name, it is moved &
> renamed to there
> * if you supply a single file dest. folder, it is moved there, using the
> original file name
>
> This is the way that the Clarion COPY command works... and (not
> surprisingly) I find it intuitive.

We have to check if we can make this modification. I agree, it's intuitive,
but not the way the underlying Windows APIs work.

Thank you for your suggestion.

--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder
Create Windows Vista ready installations in minutes

-- Official Comodo Code Signing and SSL Certificate Partner

NewsArchive
10-20-2008, 02:37 AM
Steve,

> May I suggest that the nicest way for it to work with a single file would
> be:
>
> * if you supply a single file destination folder & name, it is moved &
> renamed to there
> * if you supply a single file dest. folder, it is moved there, using the
> original file name
>
> This is the way that the Clarion COPY command works... and (not
> surprisingly) I find it intuitive.

Added. Single-file "Copy File" and "Move File" operations support a
destination folder (no filename required) now.

Thanks again for your suggestion.

Friedrich

NewsArchive
10-22-2008, 03:35 AM
Nice....

Will be available from the next maintenance release?

Steve

NewsArchive
10-22-2008, 03:35 AM
Steve,

> Nice....
>
> Will be available from the next maintenance release?

Already available in the latest Build #2390 ;-)

Friedrich