brugmanrad
22nd July 2005, 09:55
Hello all,
I have following challenge:
Through ftp we import some files into a windows directory. These files have format 8.3 characters. Now I want to cut the name after the 8th position, so cut off the extension.
I checked functions like dir.open and dir.entry, but I cannot find what I exactly need to do for this.
I think it should work something like this:
open directory
read file
file.new = file.old(1;8)
read next file
Any suggestions are welcome, thanks in advance
I have following challenge:
Through ftp we import some files into a windows directory. These files have format 8.3 characters. Now I want to cut the name after the 8th position, so cut off the extension.
I checked functions like dir.open and dir.entry, but I cannot find what I exactly need to do for this.
I think it should work something like this:
open directory
read file
file.new = file.old(1;8)
read next file
Any suggestions are welcome, thanks in advance