I am using a one up counter from a file to make ID keys for a db file. I have found a way to dynamically create a .dat file using this one up counter so I can have a log seperate from the database that coincides. I do this with the following command:
now the question....how can I add a command in this string that will not only create the new file but close it automatically so the process dies?