http://msdn.microsoft.com/
input file value Property
Retrieves the file name of the input object after the text is set by user input.
Scripting [ sValue = ] INPUT type=file.value
Possible Values
sValue String that receives the file name.
The property is read-only!!!!!!. The property has no default value.
<script language="javascript">
function test(){
var str1=document.Form1.fileFile1.value;
var regstr=/\\/;
var regresult=new RegExp(regstr)
var sss=str1.split(regresult,'100');
var need=sss[sss.length-1];
var a=need.split('.');
document.Form1.txtText2.value=a[0];
document.Form1.txtText3.value=a[1];
}