temp files not cleaned up when running from command line
freecellwizard
Posts: 6
I am working on some batch files/msbuild script to help our developers sync their local SQL data with source control. I am playing with the command line functionality using an XML config file:
It's working except that in the Intranet scripts folder (note use of a relative path in the scripts2 tag), there's a subfolder created with a name like "634128911528778590". So if I run the comparison a second time, I get a bunch of SQL Data Compare parser errors.
I assume this numbered folder is just a working temp directory, since it contains .sql and .sdcs files, but why isn't it cleaned up? Is this a bug? I don't see a command line switch to tell it to get rid of these files.
Thanks for any help.[/code]
<?xml version="1.0"?> <commandline> <server1>localhost</server1> <database1>Intranet</database1> <scripts2>Intranet</scripts2> <include>Table:\[SearchParameter\]</include> <scriptfile>c:\temp\foo.sql</scriptfile> </commandline>
It's working except that in the Intranet scripts folder (note use of a relative path in the scripts2 tag), there's a subfolder created with a name like "634128911528778590". So if I run the comparison a second time, I get a bunch of SQL Data Compare parser errors.
I assume this numbered folder is just a working temp directory, since it contains .sql and .sdcs files, but why isn't it cleaned up? Is this a bug? I don't see a command line switch to tell it to get rid of these files.
Thanks for any help.[/code]
Comments