Thanks Volker But there is no way to use it that way. the error is produced by windows api. and has nothing to do with the program itself.
I even tryed to get to the heart of the command.
the core of "FileType" is a c instruction called "stat_" that is linked to windows api.
I tried to get it to use try catch but no luck:
I even tryed to get to the heart of the command.
the core of "FileType" is a c instruction called "stat_" that is linked to windows api.
I tried to get it to use try catch but no luck:
Local mode,size,mtime,ctime Try If stat_( "a:",mode,size,mtime,ctime ) Print "Invalid Dir" Else Print "Dir ok" Catch a$ Print a$ End Try