2016-12-06, 05:14 PM
raceviper13 Wrote:Can we get a guide to tell us how to do this so the entry in the database isn't deleted when renaming the file (along with the entries in the databases using NScriptHelper)? I lose every entry when I rename using this method.
I realize this was posted a long time ago, but I never saw a reply and I was in need of using NScriptHelper myself. I found that you have to rename the actual file prior to using the -rename function of NScriptHelper. If you rename the file 1st, it works every time. I setup a Python script to do the rename and then execute NScriptHelper.
Anyway... just some hopefully helpful info for anyone who happens to run across this.