September 15, 2011 at 1:47 am
Hi,
can anybody tell me how to get the size of files,which is available in hard disk. I will be giving the file name with full path. I just want the file size. for example if i gave like below
@filesize=<functionname("c:\sample.txt")>
One more thing, by using dir command in dos we can get but is there any way to get the size of file only
Thanks
Vaithilingam.K
September 15, 2011 at 3:30 am
you should feel lucky that you raised your queries here. Follow this http://www.sqlservercentral.com/Forums/Topic331794-8-2.aspx
at page2, second comment from Jeff is the solution of your problem.
----------
Ashish
September 15, 2011 at 5:51 am
Hi Ashish,
Thanks a lot
September 15, 2011 at 6:15 am
you should be thankful to Jeff and the sqlservercentral platform.
----------
Ashish
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply