PDA

View Full Version : SB 8.0.4092: Zip mailfunction?



NewsArchive
06-26-2013, 12:02 PM
Hi all,

i wrote my first SB install - everything works well - except an error
with zip files in my little backup routine if the user has a blank
character in his %_SB_INSTALLDIR%

Code:

Zip Files from "%_SB_INSTALLDIR%\*.tps" to "%_SB_BACKUPFILE%"

works ok when %_SB_INSTALLDIR% = "C:\Test\DZECaSM", but brings
Error Message "Filespec CaSM\*.tps not matched" when %_SB_INSTALLDIR% =
"C:\Test\DZE CaSM"

Any suggestions?

Thanks
Mario

NewsArchive
06-26-2013, 12:04 PM
Mario,

No, this is not a Zip malfunction :-)

"Source File Specification - [in] String that specifies the full paths to
all of the files you want to add (this can include the wildcards "*" and
"?"). Please put double-quotes around the file specification if you are
processing "long" file names."

In your case, I think you simply forgot to put double-quotes around the file
specification.

See attached screenshot.

Friedrich

NewsArchive
06-26-2013, 12:06 PM
Friedrich,

yep that was it.

Thanks
Mario

NewsArchive
06-26-2013, 12:06 PM
Mario,

>
> yep that was it.
>

Great, thank you for the update!

Friedrich