Backslash escape is because the parser needs to know you're not trying to "despecialize" the following character. By default \ *is* a special character. (E.g. "\to" would mean \t, which is a tabulation, then the letter o). So using \ because the second \, the parser just
It's the same in Java, C AFAIR and probably most languages BTW. Cheers Le ven. 14 août 2020 à 19:28, Anton Shepelev <anton....@gmail.com> a écrit : > I wrote: > > > bat """ > > chcp 1251 > > c:\\path\\to\\program.exe > > """ > > The backslashes should be doubled: > > c:\\path\\to\\program.exe > > Sorry for the typo. > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to jenkinsci-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/20200814193627.932d3a0cb364bd94765a8d38%40gmail.com > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS4kLh5J%3D3hCCujHHq3wxqZuHy1LPXCNXbACYQq2%3DcZnoQ%40mail.gmail.com.