dtutil.exe Creating Folder SQL only if the folder doesn't exist -
05-04-2006
, 06:42 PM
I was wonder if anyone know how I go about creating a folder in SQL location
only if the folder doesn't exist. I can create a folder if I run
dtutil.exe /SourceServer mySqlServer /FCreate SQL;/;NewFolder
However if the folder already exist, I get and error. I'm trying to write a
batch file to create the folder (only if it doesn't exist) and then copy my
package into sql server. |