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 scanning for ColdFusion and BlueDragon applications
Find out how iMS Stacks up to the competition: 
http://www.coolfusion.com/imssecomparison.cfm
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
iMS-Lite - the completely free mail server solution for applications and 
application servers
http://www.coolfusion.com/iMSLite

--- On Monday, November 07, 2005 4:39 PM, Adrian Showater scribed: ---
>
> 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: C:\program files\directory\file.ext
> 
> How do I get around the space in "program files?"
> It works just fine on locations without spaces.
> 
> Adrian Showalter
> Software Developer
> Holmes BizNet
> www.HolmesBizNet.com <http://www.HolmesBizNet.com>
> 330.893.3901 ext 102
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223491
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to