dbTalk Databases Forums  

dtutil.exe Creating Folder SQL only if the folder doesn't exist

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss dtutil.exe Creating Folder SQL only if the folder doesn't exist in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
ls
 
Posts: n/a

Default 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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.