I tried this and it seems to work well except it shuts down solidworks after it's finished renaming the file. I dont think this should be this normal?
This could be good for using while in product development stage when parts can get shuffled around.
are you using this programm under 2014 sw?
None of the 5 different machines never shuts down the program. If you can describe the process of the falling of Solidworks, I gladly correct a code for you.