how to check whether a particular folder exist in the system or not

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gracepaul
    New Member
    • Jul 2008
    • 28

    how to check whether a particular folder exist in the system or not

    hi,
    is it possible to check whether a particular folder exists in the client machine from the server.
    if the folder exists then i have to do some steps or else i have to do another.

    is it possible with c#

    thanks
    grace
  • arunbojan
    New Member
    • Jul 2008
    • 30

    #2
    Hi ...

    Yes ,It is possible to check by using the namespace Imports system.IO
    Then you have to check for directory .

    ie, If directory.Exist s Then
    ------------------------
    ------------------------
    End If

    Comment

    • gracepaul
      New Member
      • Jul 2008
      • 28

      #3
      how can i check whether that particular folder residing in the client machine through c# code

      Comment

      • vijayB
        New Member
        • Mar 2008
        • 40

        #4
        Originally posted by gracepaul
        how can i check whether that particular folder residing in the client machine through c# code

        If you are looking for any specific folder and you know the location of that folder then you can do it by above way. But, if you are searching a folder which location is user dependent then you have to write your own file searching logic...
        Or else you can call any inbuilt searching tool from the remote computer.

        Comment

        Working...