Sharing a folder to remote peers

This is a discussion on Sharing a folder to remote peers within the Windows Programming forums, part of the Platform Specific Boards category; I'd like to make a folder on my pc with path like c:\foobar\ available to network users with path like\my_computer_name\something ...

  1. #1
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722

    Sharing a folder to remote peers

    I'd like to make a folder on my pc with path like c:\foobar\ available to network users with path like\\my_computer_name\something

    How do I do this automatically using the windows API ?
    Which functions should I use ?


    I want to know this, so I can have a small app that simply shares or hides my folders automatically, without much work.

  2. #2
    #include<xErath.h> xErath's Avatar
    Join Date
    Jun 2004
    Posts
    722
    I found it.. NetShareAdd
    thank you anyway.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  2. Remote debug not working in Visual Studio 2003
    By Bassquake in forum Tech Board
    Replies: 12
    Last Post: 08-22-2008, 12:11 PM
  3. Not able to access directory of home folder
    By Bargi in forum Linux Programming
    Replies: 1
    Last Post: 02-06-2008, 01:45 AM
  4. Hiding a folder
    By nextstep in forum Windows Programming
    Replies: 16
    Last Post: 03-20-2005, 02:07 PM
  5. FIle Sharing
    By MethodMan in forum Tech Board
    Replies: 2
    Last Post: 11-26-2002, 04:30 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21