Author Topic: Trying to execute script file results in asking for password  (Read 2965 times)

Offline jjb

  • Newbie
  • *
  • Posts: 15
Trying to execute script file results in asking for password
« on: December 15, 2011, 08:34:08 AM »
Hi,

I am stumped.  I try to run CB with a script file (regbackup.txt) containing:

"C:\Program Files\COMODO\COMODO BackUp\CBU.exe" /backup_operation /compressionlevel maximum /destinationtype 1 /silentRun /log_method "create" /diskusage high /processorusage high /type entirereg /destinationpath "X:\Backups\Hugo\CBU files\20111215_REG.cbu" /log_file "X:\Backups\Hugo\Logs\20111215_REG.log" /backup_type full /description "Full backup of registry"

with the command:
"C:\Program Files\COMODO\COMODO BackUp\CBU.exe" /script "regbackup.txt"

...but it asks for the encryption password, so I conclude this script contains a syntax error.  However, I can't discover it.  Probably extremely obvious  :embarassed:

Offline ech

  • Newbie
  • *
  • Posts: 24
Re: Trying to execute script file results in asking for password
« Reply #1 on: December 15, 2011, 09:02:16 AM »
I think you'll want to remove "C:\Program Files\COMODO\COMODO BackUp\CBU.exe" from the script file... you're already calling the executable and comodo backup script files don't have the executable specified.

Offline jjb

  • Newbie
  • *
  • Posts: 15
Re: Trying to execute script file results in asking for password
« Reply #2 on: December 15, 2011, 02:00:03 PM »
Good suggestion, I put it in because the online help seems to imply it belongs there.  However, after removing the path to the executable (thus starting with /backup_operation) the same still happens.  Any other ideas?

Offline Emanuel Sescu

  • Comodo Staff
  • Comodo's Hero
  • *****
  • Posts: 2162
  • Emanuel Sescu
Re: Trying to execute script file results in asking for password
« Reply #3 on: December 16, 2011, 01:42:24 AM »
I tried the command and it worked ok.
Are you using the latest version of CB?
Can you please compress (zip) and post the script file?

Thanks
----
Regards,

Emanuel Sescu
Follow Me

Offline jjb

  • Newbie
  • *
  • Posts: 15
Re: Trying to execute script file results in asking for password
« Reply #4 on: December 16, 2011, 07:53:45 AM »
Using CB version 4.0.7.14 on a Windows 7 Ultimate 64-bit system.
COS is uninstalled.
Firewall CIS 5.8.213334.2131, antivirus disabled.
Viruschecker Avast! 6.0.1367

Attached 2 script files (neither of them working for me).

I tried the command and it worked ok.
Are you using the latest version of CB?
Can you please compress (zip) and post the script file?

Thanks

Offline Emanuel Sescu

  • Comodo Staff
  • Comodo's Hero
  • *****
  • Posts: 2162
  • Emanuel Sescu
Re: Trying to execute script file results in asking for password
« Reply #5 on: December 19, 2011, 03:52:11 AM »
Using CB version 4.0.7.14 on a Windows 7 Ultimate 64-bit system.
COS is uninstalled.
Firewall CIS 5.8.213334.2131, antivirus disabled.
Viruschecker Avast! 6.0.1367

Attached 2 script files (neither of them working for me).


Thanks for the scipts.
The issue is caused by ENTER character present at the end of the script files. This will be fixed in next release. Until then please make sure that all command is written in a single line.

----
Regards,

Emanuel Sescu
Follow Me

Offline jjb

  • Newbie
  • *
  • Posts: 15
Re: Trying to execute script file results in asking for password
« Reply #6 on: December 19, 2011, 06:28:12 AM »
Thanks very much.  This had me stumped no end...

 

Seo4Smf 2.0 © SmfMod.Com | Smf Destek