redirecting password file using nbseccmd
Hi, I'm trying to run nbseccmd command (in Windows) that encrypts disaster recovery packages by redirecting the password file which is in text but the passphrase within the text file doesn't seem to get recognized properly. Strangely, this works in Linux.
"C:\Program Files\Veritas\NetBackup\bin\admincmd\nbseccmd" -drpkgpassphrase < C:\work\test\input.txt
> Caution:
> Only the following characters are supported for the passphrase:
> White spaces, uppercase characters (A to Z), lowercase characters
> (a to z), numbers (0 to 9), and special characters that include:
> ~ ! @ # $ % ^ & * ( ) _ + - = ` { } [ ] | : ; ' , . / " ? < >
> Enter passphrase for encrypting DR Package :
This is the content of the input.txt file:
------------------------------------
passphrase#123A
passphrase#123A
Any ideas as to why this doesn't work in Windows (but it works in Linux)?