aziz rasul
Active member
- Local time
- Today, 14:13
- Joined
- Jun 26, 2000
- Messages
- 1,935
I am importing many xls files and exporting them to the same directory (and same filename as the xls file) as text files. I then, using the Name command, change the extension of the text files to "dat". I then import the next xls file etc.
If I now import the same xls files and re-export and change the extension to "dat" I get an error since the same filename with the same dat extension already exists. How do I first check whether the dat file exists. I know that I need to use the Kill command to delete the file.
If I now import the same xls files and re-export and change the extension to "dat" I get an error since the same filename with the same dat extension already exists. How do I first check whether the dat file exists. I know that I need to use the Kill command to delete the file.