Results 1 to 5 of 5
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Directory Contents (XP)

    Is it possible to obtain a directory listing such as "DIR *.*" to a specific server path without mapping to a drive letter?

    I'm thinking something like: Dir MyServerFolder_1Folder_2*.*

    One thing more ... the rights or permissions to the server folder have already been assigned.

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Directory Contents (XP)

    A very simple experiment shows that this seems to work - is there any reason you posted the question rather than just trying it?

    StuartR

  3. #3
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Directory Contents (XP)

    Stuart,

    I did try it and was having issues (spelling or path not one of them). Try doing a directory listing of a server preferably in the folder of "MyServerdocuments & settingsYourProfileSomeFolder*.*"

    This is where I receive a message about "network path not found". I think it has something to do with the "documents & settings".

    Thanks,
    John

  4. #4
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Directory Contents (XP)

    Errr... Could it be because the directory name is actually "Documents and Settings"?

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  5. #5
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Directory Contents (XP)

    I was assuming that in the syntax
    <code> MyServerFolder_1Folder_2*.*</code>
    Folder_1 was the name of a file share!

    If you need to access a random folder on the server then you can still do this, so long as you have administrative privileges on the server.

    Try
    <code>Dir "serverC$Documents and Settings"</code>

    StuartR

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •