Better way of dealing with characters which need to be escaped
with carets in DOS/Windows.