it always return path C:\winnt\system32 ..why ?

Discussion in 'ASP .Net' started by raagz, Jul 16, 2004.

  1. raagz

    raagz Guest

    Hi,

    can anybody tell me why
    the following piece of code in my ASP.NET page always returns the path
    as C:\winnt\system32 ?

    FileInfo objf = new FileInfo("test.xml");
    string strFile = objf.DirectoryName;


    Thanks
    Raagz
    raagz, Jul 16, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. raagz
    Replies:
    2
    Views:
    416
  2. raagz
    Replies:
    0
    Views:
    319
    raagz
    Jul 16, 2004
  3. raagz
    Replies:
    0
    Views:
    298
    raagz
    Jul 16, 2004
  4. raagz
    Replies:
    0
    Views:
    353
    raagz
    Jul 16, 2004
  5. Mr. SweatyFinger
    Replies:
    2
    Views:
    1,833
    Smokey Grindel
    Dec 2, 2006
Loading...

Share This Page