Hi all,
Can u Rename an existing file in ur System with an Empty Name??
Absolutely 'No'.
If u try to empty the file name, it automatically changes its name to the older one.
But, U can save a file with Empty Name.
Try This,
1. Open the notepad
2. Save it as ".txt" in ur desktop.
3. and check the file now.
U will be surprised. U wud have never seen a file in this format.
Note:
It is applicable in java while "Export To Excel".
U can save a file in the name ".xls"
So u have to validate it in ur program to avoid such situation.