Hi there,

I came across code today which creates a pdf document.

<cfset path = "\\Netw_Share\someFolder\Test*\*">

<cfdocument format="pdf" unit="in" filename="#path#\#name_of_file#.pdf"
overwrite="yes">
   some text here
</cfdocument>

Since, path variable already has backslash in it, I thought
#path#\#name_of_file#.pdf would throw error, but it did not.

Can someone suggest what is the so obvious I am missing here???? I was
thinking if path var is set to \\Netw_Share\someFolder\Test i.e. without
backslash then the code will be perfect.. but it works both ways and I am so
confused.

any suggestions???


<Ajas Mohammed />
http://ajashadi.blogspot.com
We cannot become what we need to be, remaining what we are.
No matter what, find a way. Because thats what winners do.
You can't improve what you don't measure.
Quality is never an accident; it is always the result of high intention,
sincere effort, intelligent direction and skillful execution; it represents
the wise choice of many alternatives.

Reply via email to