PDA

View Full Version : check file path


Protean
07-18-2008, 09:13 AM
Hello,

Can anyone tell me how to check if a file path is valid via scripting?

Cheers

John

Protean
07-20-2008, 10:32 PM
true to form I found it... in the scripting guide no less. that will teach me to not read the manual :)

if fileexists ("C:\\work\\imagedump\\beauty.exr") == true
then
blah..blah

CGTalk Moderation
07-20-2008, 10:32 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.