Copy link to clipboard
Copied
Hello everyone,
I have this simple script to select a folder via dialog and assign it to variable:
var theFolder = Folder.selectDialog("select folder");
var fileandfolderAr = scanSubFolders(theFolder,/\.(nef|NEF)$/i);
var fileList = fileandfolderAr[0];
My folder location is a network drive and the path is:
"\\Network1\testfolder"
I want to assign to theFolder the specific location instead of choosing it via dialog.
var foo = '//folder1/folder2/folder3';
var theFolder = New Folder(foo);
Watch the forward and backslashes in Extendscript.
Copy link to clipboard
Copied
var foo = '//folder1/folder2/folder3';
var theFolder = New Folder(foo);
Watch the forward and backslashes in Extendscript.
Copy link to clipboard
Copied
sorry for the delay, but it worked, thank you