Results 1 to 2 of 2

Thread: Sharing Folders

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 1999
    Location
    Lincolnshire, UK
    Posts
    111
    Does anyone happen to know how to share a folder through code?

    I think that there's a way through the API, but I can't figure out which command. If anyone knows of a nicer way (eg FileSystemObject or similar) please let me know

    Cheers

    Chris

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649
    You could use the Net Share command.
    Code:
    Call Shell("Net Share TheShareName=C:\ThePath", vbHide)
    Good luck!

Posting Permissions

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



Click Here to Expand Forum to Full Width