danarashad
Programmer
I trying to use cfexecute to do a batch copy of files, from one folder to another.
<cfexecute name="D:\copy2.bat" timeout="60"></cfexecute>
the copy2.bat files has a variable in it.
copy D:\folder1\folder2\userdir\#empID#\*.pdf D:\
the #empID# is a variable, i do a cfset before the cfexecute.
This is the error i get
C:\CFusionMX7\runtime\bin>copy
D:\folder1\folder2\userdir\#empID#\*.pdf D:\
The system cannot find the path specified. how do i read the variable #empID#
1793 is what the variable should be. i cant hard code it because it will change.
thanks
<cfexecute name="D:\copy2.bat" timeout="60"></cfexecute>
the copy2.bat files has a variable in it.
copy D:\folder1\folder2\userdir\#empID#\*.pdf D:\
the #empID# is a variable, i do a cfset before the cfexecute.
This is the error i get
C:\CFusionMX7\runtime\bin>copy
D:\folder1\folder2\userdir\#empID#\*.pdf D:\
The system cannot find the path specified. how do i read the variable #empID#
1793 is what the variable should be. i cant hard code it because it will change.
thanks