RE: Spaces in cfexecute on Windows machine

2005-11-09 Thread Adrian Showater
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 (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:223675
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


RE: Spaces in cfexecute on Windows machine

2005-11-07 Thread Matthew Small
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. 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


-Original Message-
From: CF-Talk [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 12:02 PM
To: CF-Talk
Subject: CF-Talk: Digest every 4 hours


CF-Talk  07-Nov-05 Issue:5037
In this issue:
 Limit or Top and mySQL Question
 (OT) server rebooting after virus
 (OT) server rebooting after virus
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 ActiveX Image Control
 ActiveX Image Control
 Bday boy needs some left outer join help
 cfxpdf performance issues
 ColdFusion Reseller Accounts
 Create an XML - Feed
 Cumulative Hotfix 1 - Remove old Hotfixes?
 Cumulative Hotfix 1 - Remove old Hotfixes?
 eclpise and dw playing together
 eclpise and dw playing together
 Maybe OT, MySQL install problem
 New to Multi Server installation/Jrun
 SOAP or .NET Remoting Quesitons.
 SOAP or .NET Remoting Quesitons.
 Special Characters (Unicode?)
 Using SQL Server JDBC Drivers with MX7?
 Using SQL Server JDBC Drivers with MX7?
 Weird Database Issue with Memo field
 Weird Database Issue with Memo field
 what do you use instead of cfx_openimage?





~|
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:223488
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=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Spaces in cfexecute on Windows machine

2005-11-07 Thread Raster, Tim
Perhaps you need to go to a DOS prompt (yes, old skool), and do a:

Dir /x

which shows you the 8.3 format directory names?  (should only apply to
old OS or old FAT formatting, etc., though)


-Original Message-
From: Adrian Showater [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 07, 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 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


-Original Message-
From: CF-Talk [mailto:[EMAIL PROTECTED]
Sent: Monday, November 07, 2005 12:02 PM
To: CF-Talk
Subject: CF-Talk: Digest every 4 hours


CF-Talk  07-Nov-05 Issue:5037
In this issue:
 Limit or Top and mySQL Question
 (OT) server rebooting after virus
 (OT) server rebooting after virus
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 [SPAM : 8.1] Re: Rumors from Max..
 ActiveX Image Control
 ActiveX Image Control
 Bday boy needs some left outer join help
 cfxpdf performance issues
 ColdFusion Reseller Accounts
 Create an XML - Feed
 Cumulative Hotfix 1 - Remove old Hotfixes?
 Cumulative Hotfix 1 - Remove old Hotfixes?
 eclpise and dw playing together
 eclpise and dw playing together
 Maybe OT, MySQL install problem
 New to Multi Server installation/Jrun
 SOAP or .NET Remoting Quesitons.
 SOAP or .NET Remoting Quesitons.
 Special Characters (Unicode?)
 Using SQL Server JDBC Drivers with MX7?
 Using SQL Server JDBC Drivers with MX7?
 Weird Database Issue with Memo field
 Weird Database Issue with Memo field
 what do you use instead of cfx_openimage?





~|
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:223490
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


Re: Spaces in cfexecute on Windows machine

2005-11-07 Thread Howie Hamlin
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


RE: Spaces in cfexecute on Windows machine

2005-11-07 Thread Seth Bienek
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, so your new path would
be:
C:\PROGRA~1\directory\file.ext

Hope this helps.

Take Care,

Seth

 -Original Message-
 I am having a problem using cfexecute on a windows. machine. 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.


~|
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:223492
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