We're using Unidata, but one way we would do it, would be:

EXECUTE  "!DIR UVUSR\LFC\&HOLD&\INSRECAP\SutherlandIssues200604.csv"

-----Original Message-----
From: Eric Armstrong [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 28, 2006 12:59 PM
Cc: [EMAIL PROTECTED]; U2Users
Subject: [U2] Escaping the '&' in Windows XP from Universe


Does anyone know how to escape the "&" in the following Basic EXECUTE
statement?

EXECUTE DOS /C DIR UVUSR\LFC\&HOLD&\INSRECAP\SutherlandIssues200604.csv
CAPTURING msg RETURNING err

Windows is choking on the "&". It thinks "HOLD" is a file in the LFC
directory.

I tried the following-

EXECUTE DOS /C DIR
"UVUSR\LFC\&HOLD&\INSRECAP\SutherlandIssues200604.csv"
EXECUTE DOS /C DIR
'UVUSR\LFC\&HOLD&\INSRECAP\SutherlandIssues200604.csv'
EXECUTE DOS /C DIR
UVUSR\LFC\&&HOLD&&\INSRECAP\SutherlandIssues200604.csv

and a few other things, but no go.

We are on
Universe 10.1.10
Windows XP 2002

Thanks in advance.

Eric Armstrong
Programmer/Analyst
Lobel Financial
714.816.1207
714.995.7012 fax
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to