I have been reading documentation and posts and trying over and over but I can't figure out how the folder naming works when using the Folder object.
In Windows Explorer, I will find a folder named, for example, "T:\Projects\2009".
var folder01 = Folder("T:\Projects\2009");
However, if I use selectDialog and select the same folder, it does exist:
var folder01 = Folder.selectDialog ("Select a folder");
I don't know how to make it work when you want to supply a folder name as a string.
Your problem is that \ is a special char in JS, that escapes the folowing character.
So var folder01 = Folder("T:\Projects\2009");
Should be var folder01 = Folder("T:\\Projects\\2009");// untested
But i just do:
var folder01 = Folder("T:/Projects/2009");
Thank you , Thomas.