Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
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
Are you using Mathcad 15?
Yes I'm using Mathcad 15
Have a look at following two documents you might find something to help.
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.
Thanks for the link.