MEL: Creating a new file 2003-12-08 - By Roto Monkey
Back Andrew Chapman writes: > You could start with a base name, and append increasing numbers to the > end until you find one that doesn't exist. Use fopen() in read mode to > test for file existence (would be nice if the sysFile command had a > -exists flag wouldn't it?). >
FWIW, you can use the filetest command to see if files exist.
cb
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ______ Chris Burrows http://www.blueskystudios.com Se�or Technical Director cb@(protected) Blue Sky Studios
"Can't control my fingers, can't control my toes..." -- The Ramones
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- List-help: <mailto:listar@(protected)?Subject=help> List-archive: <http://www.highend3d.com/maya/devarchive/>
|
|