[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] Problem with frename()
Hi all,
I have a strange problem with renaming a folder under MiNT.
Following situation, I have started the unzip.ttp with Pexec(0) from my
program, when I try to rename the depacked folder, I always get an error
-33 from frename(). So it seems the folder isnŽt there after unzip has
finished. So I have tried the following, (I use some kind of pseudo
Basic, because IŽm a GfA coder, hope you understand what I mean.:))
Pexec(0,unzip.ttp)
jump:
if exist(folder_old)
frename(folder_old, folder_new)
else
goto jump
endif
When I try this it takes several seconds and then the folder will be
renamed. So, it looks like the folder isnŽt there directly after unzip
has finished, what could be the problem there?
When I start the program under plain TOS it works fine, without the
loop.
All these actions took place on normal TOS partition with NEWFATFS
enabled.
Any ideas?
Ciao
Marc-Antón
--
**************************************************
Business: http://www.st-katharina-apotheke.de
Photography: http://www.ndh.net/home/kehr
Atari: http://atari.st-katharina-apotheke.de
**************************************************