dbTalk Databases Forums  

check the existence of any file in a folder

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


Discuss check the existence of any file in a folder in the microsoft.public.sqlserver.dts forum.



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

Default check the existence of any file in a folder - 08-24-2010 , 01:21 PM






I need to write a script task to check if there is any file exists in c:\test
folder.
If there is a file, then return a failure. If there is no file, then return
a success. The file in that particular folder could be with any name.

Thanks,

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.