Click here for important information about

Solved special caracter % in bach file

November 29, 2020 at 03:39:16
Specs: Windows 10
Hi everyone, I'm writing a batch file which execute an application in which there are a username and password. If the password doesn't contain special characters it works well, but if there are special character (for example %) it doesn't work and in dos I see that is doesn't use the %. How can I solve the problem?

See More: special caracter % in bach file

November 29, 2020 at 08:49:26
Post a few lines



Reply ↓  Report •

November 29, 2020 at 13:10:24
For example if the password is "pluto" this works well

vmware-view.exe --serverURL --userName pippo --password pluto

but if the fassword is "plu%to" and this does't work because it is no able to execute the %

vmware-view.exe --serverURL --userName pippo --password plu%to

Reply ↓  Report •

December 1, 2020 at 23:32:52
✔ Best Answer
And what it happen on your side if you try adding another % to escape it :

vmware-view.exe --serverURL --userName pippo --password plu%%to

Reply ↓  Report •

Related Solutions

December 2, 2020 at 06:07:16
yes now it works ;)

Reply ↓  Report •

Ask Question