Create Windows Folder / Share?

2004-09-20 Thread Jeff Chastain
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?

RE: Create Windows Folder / Share?

2004-09-20 Thread Daniel Budde II
: 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

Re: Create Windows Folder / Share?

2004-09-20 Thread Russell Patterson
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

Re: Create Windows Folder / Share?

2004-09-20 Thread Ben Frame
If you can perform the desired operation (creating a windows share, or whatever...)via a Windows command prompt, then you should be able to write a CF tag to perform the same, using cfexecute.I haven't done this exact thing, but I wrote a custom tag to programmatically map a network drive from 1

RE: Create Windows Folder / Share?

2004-09-20 Thread Daniel Budde II
Glad to see it looks like I was wrong in this case.It is good to hear Russell's and Ben's input. -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

Re: Create Windows Folder / Share?

2004-09-20 Thread Jochem van Dieten
Jeff Chastain wrote: 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. Use cfexecute. cacls to set permissions and net share ... to create the share. Jochem

Re: Create Windows Folder / Share?

2004-09-20 Thread Jeff Chastain
Thanks guys.I was trying to make this a lot more complicated. Thanks again, -- Jeff Quoting Jochem van Dieten [EMAIL PROTECTED]: Jeff Chastain wrote: 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

RE: Create Windows Folder / Share?

2004-09-20 Thread Dave Watts
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