Ok so what im trying to do here is set putme to be coding so that when the test.txt is read it replaces <!--ReplaceMe -->
with the contents of putme. How do i get putme to just store it at text instead of coding?
<!-- Start putme -->
<cfset putme = "<cfelseif #GetFiles.Name# contains #GetFiles.Name#>
<cfset #Property# = #GetFiles.Property#>
<cffile action="rename"
source="D:/home/wwwroot/technet/Uploads/#GetFiles.Name#"
destination="D:/home/wwwroot/technet/property/#property#/temp/#DateFormat(DateAdd('d', -1, MyDateTime),'mm dd, yyyy')# #Name#">
<!--ReplaceMe -->
">
<!-- End putme -->
<cffile action="read"
file="D:/home/wwwroot/technet/test.txt"
variable=contents>
<cfset #contents# = #Replace(contents, "<!--ReplaceMe -->", "#putme#", "all")#>
<cfset #indexfile# = #dirname# & "\test.txt">
<cffile action="write"
file=#indexfile#
output=#contents#>