cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Copy folder and data from one folder to another folder

ptc-5425890
1-Visitor

Copy folder and data from one folder to another folder

Hi,

I'm searching for a way to copy data files and folders (including the data content of these folders)) from my working directory to another folder.

I have no clue how to solve this problem.

I would like to create a tool which compares the data files and folders in my CWD an if there is no similar file/ folder in the target folder the tool shoud copy this file/ folder to the target folder.

I already know how to select data files from one folder and copy them to another one but I don't know how to do this with folders and the data conbtent.

Thanks a lot in advance

Best regards

8 REPLIES 8

Are you using Mathcad 15?

Yes I'm using Mathcad 15

Have a look at following two documents you might find something to help.

RichardJ
19-Tanzanite
(To:ptc-5425890)

The only way to do what you want is by using a scripted component. Mathcad's built in file handling is very weak, but VBscript is very good for that. There are a lot of examples here: Extra Components and Controls

You beat me to it

Thanks a lot for the answers. I think I have to get into VB and create my own script.

Here is a link to a VBScript guidebook written by Dani Vainstein that is helpful.

http://www.onestopqa.com/qtp-tutorials.php

Thanks for the link.

Announcements

Top Tags