#! /bin/csh -f 

#set variable
	set nors = $1
	set fn = $2

#find directory 
	if ( $fn !="" ) then 
		cd $fn	
  	endif

#execution
	if ( -e d04 && -e d05 && -e f09 && -e f39 ) then

		if ( $nors == "n" || $nors == "N" ) then
			time $dvdir/object/ndos.exe 
		else if ($nors == "s" || $nors == "S" ) then
			time $dvdir/object/sdos.exe 
		else if ($nors == "w" || $nors == "W" ) then
			time $dvdir/object/wdos.exe 
		else if ($nors == "u" || $nors == "U" ) then
			time $dvdir/object/udos.exe 
		else if ($nors == "g" || $nors == "G" ) then
			time $dvdir/object/gdos.exe 
		else if ($nors == "h" || $nors == "H" ) then
			time $dvdir/object/hdos.exe 
		else if ($nors == "i" || $nors == "I" ) then
			time $dvdir/object/idos.exe 
		else if ($nors == "j" || $nors == "J" ) then
			time $dvdir/object/jdos.exe 
		else 
			echo  "dos [n/s/w/u/g/h/i/j] (filename)"
			exit
		endif

		$dvdir/object/dosplt.exe > p06
		rm d02
		rm d06
		rm d35
		rm p06
		cd   
	else
		echo  " d04 or d05 or f09 or f39  not exist "
		exit
	endif
