How do I create a directory on hard drive of Intranet?

Results 1 to 3 of 3

Thread: How do I create a directory on hard drive of Intranet?

  1. #1
    Join Date
    Dec 1969
    Posts
    170

    Default How do I create a directory on hard drive of Intranet?

    I tried creating a batch file with md c:custom trends but it cuts it off at the c:custom. I don&#039t really want to create a whole VB app just to create a directory (this is for the setup of an internal web application. Is there another way to do it.<BR><BR>Julie

  2. #2
    John Harrod Guest

    Default RE: How do I create a directory on hard drive of Intranet?

    The problem with your batch file is that you need to put quotation marks around your file path... "c:custom tends" . You can also use something like FrontPage or InterDev to create a virtual directory if this is what you need.<BR>http://www.johnharrod.com

  3. #3
    Jason Buck Guest

    Default RE: How do I create a directory on hard drive of Intranet?

    &#060;%<BR>Dim fso, f, strpath<BR>strpath = "C:webdocs\" & strUserLogin & "\"<BR>Set fso = CreateObject("Scripting.FileSystemObject")<BR>set f = fso.CreateFolder(strPath)<BR>Response.write "The folder C:webdocs\" & strUserLogin & " was created.<BR>"<BR>%&#062;<BR><BR>If you have anymore questions feel free to contact me.<BR><BR>Respectfully,<BR><BR>Jason<BR>webmaster @wnj.com<BR>

Posting Permissions

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