escaping DOS
Walter Vaughan
wvaughan at steelerubber.com
Wed Oct 3 13:32:12 PDT 2012
Ryan Powers wrote:
>Here's a new one in my big book of bugs. End-user created a Windows
>username, e.g. Jon&Jane
>
>Does anyone see a problem there? We have a program that calls filePro and
>uses the %tmp%, i.e. c:\users\Jon&Jane.
>It turns out that ampersands are illegal in DOS. I tried to escape it, as in
>Jon\&Jane but that doesn't work either. Are escapes even possible?
>
>I've posted here first since this might enlighten other filePro users.
>
>
Not illegal. Maybe you just need to wrap inside quotes
C:\Users\wvaughan\Desktop>dir "joe&jane.txt"
Volume in drive C is OS
Directory of C:\Users\wvaughan\Desktop
10/03/2012 04:22 PM 0 joe&jane.txt
1 File(s) 0 bytes
0 Dir(s) 32,417,320,960 bytes free
More information about the Filepro-list
mailing list