Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 3rd Feb 2012 17:15
hey guys, when i do perform checklist for files, how do i find what is a directory and what is a file?
looks like path exist() command returns TRUE even if its file..



more 3d models .x/.obj and more foramts here:
[href]https://www.turbosquid.com/Search/Index.cfm?keyword=gogetax1&x=0&y=0[href]
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 3rd Feb 2012 17:30
i can always use "file exist()) command instead, so it will return it if its file or a dir. but still, is that a bug with the path exist?

more 3d models .x/.obj and more foramts here:
[href]https://www.turbosquid.com/Search/Index.cfm?keyword=gogetax1&x=0&y=0[href]
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 3rd Feb 2012 17:54
Why not use get file type?
WickedX
17
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 3rd Feb 2012 17:56
Checklist Value A(index), will return a 0 for a file and 1 for a directory.

Hope that helps.
Sergey K
22
Years of Service
User Offline
Joined: 4th Jan 2004
Location:
Posted: 3rd Feb 2012 18:03
i see. thanks you guys.

more 3d models .x/.obj and more foramts here:
[href]https://www.turbosquid.com/Search/Index.cfm?keyword=gogetax1&x=0&y=0[href]

Login to post a reply

Server time is: 2026-07-09 11:11:12
Your offset time is: 2026-07-09 11:11:12