Yo TS,

Well.. There is somebody from my neck of the woods..

For one conditional check, why are you using a SELECT..CASE?

If you need to do a conditional check and need to to find the first true condition, then I can see the point.. This should work for you..
 Code:
IF $File1 = 1 AND $File2 = 0
	Copy "c:\scripts\session.txt" "$variable2"
	RUN $CMD2
	Exit 0
ENDIF


HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's