Discussion Locked

Using '&' in file names

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When we use '&' in file names when the file name goes to the bourne shell the '&' changes to '&' even after we use an escape sequence.

Could anyone help us here to get around the problem so that we can store the file name with '&' as it is?

5 replies

by bren1ron

Try hard quoting the file name, that is, enclose the file name with single quotes.

by ann777

If single quotes do not work, then try double quotes. And if that does not work, then try two ampersands.

This discussion is closed to new replies.