quote:
Originally posted by Gorgo
Hi CookieRevised.
I'm really need to use your DecryptAll but my password contains "&" and the batch file return "& not expected".
There are a lot of conversations and I can't modify password one by one Could you fix the bug?
Thank you so much!
Hi,
This is not a bug.
It is the way DOS works and as such I can't do anything about it other than suggesting not to use such special characters in passwords (there are more programs which have trouble with them though - always be careful when you use them)
Anyways, & is a special character in DOS and therefor should be escaped if you want to use it. But escaping it might not always work in DOS either, depending on the situation and context it is used in.
So, what you can try is:
1) Do not enter the password as parameter on the command line.
Instead, start the batch files without any parameters.
The bath file will then ask for a password.
2) Enter your password, but before the & you need to enter ^.
Thus if you password is
123&4, you need to enter
123^&4
(make sure you actually see the ^. On some keyboards, depending on the local, you might need to enter a space too in order to actually see the character because it is a combination character)
If that doesn't work, then I'm afraid I can't help you at the moment.