General information
Category:
Coding, syntax & commands
>I am copying and erasing files that have long file names. They are BMP
>files with name as YYYYMMDDHHMMSS.BMP. I did think it was any problems
>until today when I tried to ERASE a file and it wouldn't do it. I then
>tried 200204~1.bmp and it worked. Why did this just show up now? How am I
>going to program that file name?
Any chance of an embedded blank in the filename? That can cause problems.
IAC, you should be able to use ERASE with the long file name, but surround it with quotes to be sure it can handle whatever's there:
cFileName = '"' + cFileName + '"'
ERASE (cFileName)
Tamar
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only