|
@@ -493,9 +493,9 @@ begin
|
|
Halt(1);
|
|
Halt(1);
|
|
end
|
|
end
|
|
else
|
|
else
|
|
- Writeln(Format(SBackupCreated,[OutputFileName,BFN]));
|
|
|
|
|
|
+ Writeln(Format(SBackupCreated,[ExtractFileName(OutputFileName),ExtractFileName(BFN)]));
|
|
end;
|
|
end;
|
|
- if not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
|
|
|
|
|
+ if (OutputFileName<>'') and not DirectoryExists(ExtractFilePath(OutputFileName)) then
|
|
begin
|
|
begin
|
|
if CreateDir then
|
|
if CreateDir then
|
|
begin
|
|
begin
|