regExp
Posted: Thu May 19, 2011 11:13 am
				
				I
I have to copy files from directory but i know only first segment of file's name
	
Can I use the RegExp on "createPathWithName"?
	
Somethings like this:
	
	
var ThePath = job.createPathWithName("FirstSegmentOfTheName" + /.{n,}/);
					
s.copy( "/My_Disk/folder/FirstSegmentOfTheName" + /.{n,}/, TheSourcePath);
	
Tank you for any suggestions....
	
	
caio guardigli
Centro Stampa Digitalprint srl
Rimini - Italy
			I have to copy files from directory but i know only first segment of file's name
Can I use the RegExp on "createPathWithName"?
Somethings like this:
var ThePath = job.createPathWithName("FirstSegmentOfTheName" + /.{n,}/);
s.copy( "/My_Disk/folder/FirstSegmentOfTheName" + /.{n,}/, TheSourcePath);
Tank you for any suggestions....
caio guardigli
Centro Stampa Digitalprint srl
Rimini - Italy