You can run CFExecute and create a batch file that modifies the security of the folder.  The batch file will contain the Net Share command.  For more information open a command window and type in Net Share ?

Hope that helps.
Russell
  ----- Original Message -----
  From: Daniel Budde II
  To: CF-Talk
  Sent: Monday, September 20, 2004 12:43 PM
  Subject: RE: Create Windows Folder / Share?

  I could be wrong here, I know you can change the permissions, but I am not
  sure that you can set it up as a share.  I looking forward to see what
  others post.
    -----Original Message-----
    From: Jeff Chastain [mailto:[EMAIL PROTECTED]
    Sent: Monday, September 20, 2004 12:33 PM
    To: CF-Talk
    Subject: Create Windows Folder / Share?

    I have a case where I need to be able to programmatically create a new
  Windows
    folder (cfdirectory), but then be able to alter the permissions and setup
  that
    folder as a NT share.  Can anybody give me some direction on how to go
  about
    the last 2 in a Windows 2003 environment using ColdFusion?

    Thanks
    -- Jeff

    -------------------------------------------------
    This mail sent through IMP: http://horde.org/imp/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to