1- concatinate strings and adding "/" or "\" characters in it. for example
Code: Select all
path = "c:\batch\ins"
fileName = "quickTest.mov"
file = path + "\" + file; // this is giving error right now
Code: Select all
var chkFile = new File(fileName);
if (chkFile.exist){return true;} else {return false;}
btw: i m on cs3
any help / guidance will be really helpful
regards, lala