Jump to content
Sign in to follow this  
BZU

LAN - NetWorking - Server Related Question

Recommended Posts

BZU

hello ,

i want to share a folder which is placed in D:\Office\Shared

can anyone please help me out .. i am not expert in these functions .

i could not understand about this code :

#Include <NetShare.au3>

_Net_Share_ShareAdd($sServer, $sShare, $iType, $sPath[, $sComment = ""[, $iMaxUses = -1]])

or is there any other thing which can help me ?

waiting for reply ...


OS: Windows XP SP2, AutoIt version: 3.2.10.0Help The Great Forum Which is Used by You For Help.01 - Always Respect The Forum Members.02 - Use Search Before Posting or making any new Thread.03 - Help The Newbies.

Share this post


Link to post
Share on other sites
BZU

if anyone can provide a code with some description then i will be thankfull to him.


OS: Windows XP SP2, AutoIt version: 3.2.10.0Help The Great Forum Which is Used by You For Help.01 - Always Respect The Forum Members.02 - Use Search Before Posting or making any new Thread.03 - Help The Newbies.

Share this post


Link to post
Share on other sites
covaks

Creates a Share on the local computer called "Office" that points to D:\Office\Shared folder.

#include <NetShare.au3>

_Net_Share_ShareAdd ("", "Office", 0, "D:\Office\Shared")
Edited by covaks

Share this post


Link to post
Share on other sites
BZU

@ covaks

Thanx! but it is not working.

any idea, why is it not working ?

Edited by CanadaCanda

OS: Windows XP SP2, AutoIt version: 3.2.10.0Help The Great Forum Which is Used by You For Help.01 - Always Respect The Forum Members.02 - Use Search Before Posting or making any new Thread.03 - Help The Newbies.

Share this post


Link to post
Share on other sites
BZU

still waiting for someone to help me.


OS: Windows XP SP2, AutoIt version: 3.2.10.0Help The Great Forum Which is Used by You For Help.01 - Always Respect The Forum Members.02 - Use Search Before Posting or making any new Thread.03 - Help The Newbies.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×