I have been fighting with this command and found out that if I don’t use a double backward slash in my path my picture icon does’nt show up (on c:).
Funny thing is that if I use a single slash it seems somehow to be there, because it can be used by Marcel’s great splash tool.
I realize that this is Windows_CMD stuff but am just curious..
var fileName = ‘c:\out.png’
application.writeFile(fileName,picture_1);
Just to be a little more precise (not too much since this is not really my peace of cake)…
Not only is it part of the java regex but it is part of regexes in general…
The "" is a special character that is used to start a match. ‘\w’ matches all word character, ‘\d’ matches all integers etc…
If you would use ‘\n’ in this respect the regex function won’t find a match because there is no such thing as ‘\n’. But if you want to search for ‘\n’ you would do that like ‘\n’.
Outside a regex the '' is also used to start a special character in this case ‘\n’ will find a match and let’s say ‘\newdirectory’ also but it wil be ewdirectory. You then again would have to use ‘\newdirectory’ to get the requested output…