DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Assign path to output files

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

 

 

 

 

0 Kudos
Message 1 of 4
(4,059 Views)

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

0 Kudos
Message 2 of 4
(4,041 Views)

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

0 Kudos
Message 3 of 4
(4,028 Views)

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

0 Kudos
Message 4 of 4
(4,018 Views)