Thanks for the help. The escaped double-quotes did the trick.
Adrian Showalter
Software Developer
Holmes BizNet
www.HolmesBizNet.com http://www.HolmesBizNet.com
330.893.3901 ext 102
~|
Logware
I am having a problem using cfexecute on a windows. machine. A file name
that I am calling in the arguments has a space in it, and it isn't finding
the file for that reason. Is there some way to excape the space so that
windows recognizes the file name with the space in it?
For example:
Put quotes around your filename. Escape them. Chr(34)
- Matt Small
-Original Message-
From: Adrian Showater [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 4:39 PM
To: CF-Talk
Subject: Spaces in cfexecute on Windows machine
I am having a problem using cfexecute on a windows
, 2005 15:39
To: CF-Talk
Subject: Spaces in cfexecute on Windows machine
I am having a problem using cfexecute on a windows. machine. A file name
that I am calling in the arguments has a space in it, and it isn't
finding
the file for that reason. Is there some way to excape the space so that
windows
try:
name=C:\program files\directory\file.ext
This would put put double quotes around the file name.
HTH,
--
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus
Hey Adrian,
Someone else may have a better approach, but this should work too. Open a
command prompt, navigate to the folder in question, and do 'dir /x'. This
will output the 8-dot-3 name in the 5th column, and the long name in the 6th
column.
For example, Program Files is USUALLY PROGRA~1,
6 matches
Mail list logo