Why won't something like this work:
code:
WHILE 1=1 
COLOR w+/n
?"Project Folder Number:" ?
COLOR n/n
GETS $projfile
$cmdstr = "%COMSPEC% /q /e:1024 /c XCOPY $workingdir\$projfile $DestDir\$projfile /E /I"
$dirplus = DirPlus("$workingdir\$projfile","*.*",1)
IF INSTR($dirplus,"*.dat")
SHELL $cmdstr
ENDIF
LOOP


Remember now, I'm not an expert at this [Wink]

[ 10. October 2002, 23:05: Message edited by: professor ]