More Directory Power

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
oldefoxx
Enthusiast
Enthusiast
Posts: 532
Joined: Fri Jul 25, 2003 11:24 pm

More Directory Power

Post by oldefoxx »

I find it odd that you cannot easily get the name for the current directory.
I think it would also help if you could access the status flags for the directory and files - read only, system, hidden, archive, or whatever.
has-been wanna-be (You may not agree with what I say, but it will make you think).
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: More Directory Power

Post by PB »

> I find it odd that you cannot easily get the name for the current directory.

appdir$=Space(255) : GetCurrentDirectory_(255,@appdir$) : If Right(appdir$,1)<>"\" : appdir$+"\" : EndIf

> I think it would also help if you could access the status flags for the
> directory and files - read only, system, hidden, archive, or whatever.

See here: viewtopic.php?p=24773
Post Reply