Page 1 of 1

backslash in v7 scripts

Posted: 2018-04-12T21:13:22-07:00
by snibgo
Tested in v7.0.7-28, pre-built binary, on Windows 8.1.

The usual Windows backslash delimiter for directories doesn't work when used within v7 scripts.

For example, we have a simple script file backsl.scr:

Code: Select all

+write \temp\r2.png NULL:
And we run this command:

Code: Select all

magick rose: -script backsl.scr
The command creates the file called "tempr2.png" in the current directory.

The equivalent simple command works as it should:

Code: Select all

magick rose: \temp\r1.png