12-02-2011 12:03 AM
Hi all,
I want to trying to route my files after processing to a specific folder.
Eg: C:/ Diadem/Dat files.
This is the loaction from where i am loading my data files. After processing I am getting all the text files and plots inside Dat Files Folder.
Now, Each time I load a file and process it, I want my script to create a folder called output followed by Name of file(Output_f30003) inside where I want to route all my processed files.
How can i do that......
-Rsh
12-06-2011 02:46 PM
Hi RSH,
These are the commands you need, along with the VBScript string concatenation operator "&":
FolderExist
FolderCreate
NameSplit
DataFileSave
Brad Turpin
DIAdem Product Support Engineer
National Instruments
12-07-2011 10:47 AM
Hi Brad,
Can you please send me a sample code for this.
I am generating text files, pdf file and wmf file.
As soon as the text files are created I want to create a folder inside the folder from where i load my Dat file : eg C:/Script/DatFile/Text files
similarly for pdf files : C:/Script/DatFile/PDF Files
for Wmf files : C:/Script/DatFile/WMF Files
Please suggest me how do i go abt this..
May be, when Text files are generated, create folder Text Files inside dat file and Specify path for text files....
Thanks
rsh
12-09-2011 12:07 PM
Hi Rash,
Please post the VBScript you already have to load the data file, and I'll see what I can add to it to facilitate folder and file creation relative to the load path.
Brad Turpin
DIAdem Product Support Engineer
National Instruments