Phoenix,

Can you please explain in a little more detail what it is your trying to backup.

Files? Folders? You use $filename but you don't list/show it in code as to what it is defined as.

Here is an example of using the program. Just not sure what you mean or really want.

You DON'T want the completed zip file to contain any part of the file zipped? What do you want it named?

OR is it that the command is not working at all?

If so, maybe this code snipet will help.


$Files='"C:\My Documents\*.*"'
$Backup='C:\PROGRA~1\WinZip\WZZIP.EXE -ee -o -r -P "D:\Backup\backup.zip" $Files'
shell $Backup


[ 13. June 2003, 06:06: Message edited by: NTDOC ]