■プログラム説明(ソースコード説明)
			 ファイル名のみを取得するにはファイルオブジェクトを作成し、そのnameを参照します。nameはファイルのパスではなく純粋なファイル名のみを返します。Macintosh HD:id_text:sample.txtというファイルであればsample.txtになります。
			
			■ソースコード
			filename = "Macintosh HD:ps_text:sample.txt";
			fileObj = new File(filename);
			fname = fileObj.name;
			alert(fname);
			
			■ポイント
			 なし
			
		
■実際のスクリプトをダウンロード(sample.js.zip)