>There's no reason to use macro substitution in this case
agreed
>and it'll also fail if there're spaces in the path.
agreed
My opinion, however, is that there is also no reason not to point out the error in the code and
then show a preferred alternative and explain
why it is better.
In the unlikely event that the && was not a typo it's useful to point out correct syntax for the times when macro substitution really is the correct solution.
>
>>I know you've gotten answers about a better way to do this but.............
>>
>>using a macro expansion should work. Unless there's a typo in your message you have one to many &
>>
SET DEFAULT TO &cdir
>>
>>You've actually turned cDir into a comment and have issued
>>SET DEFAULT TO