In this video, I go over the steps to create a SOLIDWORKS PDM Pro Dispatch script to copy a file’s name into a variable on its data card. There might come a time when you want to assign the file name to a variable. The way to do that is to add the variable to your data card and then assign the file name to that variable. For new files, you can set up your data card to accomplish this. But, for files that are already in your vault, you will need some way to copy the file’s name into the variable on the data card. You can accomplish this with a Dispatch script.