Trouble w/ File System Object

Results 1 to 2 of 2

Thread: Trouble w/ File System Object

  1. #1
    Join Date
    Dec 1969

    Default Trouble w/ File System Object

    Hi!<BR><BR>I am testing my code on Win2000 Pro, IIS 5.0<BR>Everything works perfectly but the CreateFolder method. When it runs CreateFolder(NewPath) the pc gets stuck with no error message.<BR>NewPath is the string the contains the physical path of the new directory I want to create.<BR>It may be helpful to know that my PC runs Norton AV 2003 and Tiny Firewall. If I disable them I don’t get any change.<BR>Thanks for any advice,<BR>Daniele<BR><BR>The code is:<BR><BR>Set objFSO = CreateObject("Scripting.FileSystemObject")<BR> IF NOT objFSO.FolderExists(NewPath) Then <BR> objFSO.CreateFolder(NewPath)<BR> END IF<BR>set objFSO = Nothing

  2. #2
    Join Date
    Dec 1969

    Default RE: Trouble w/ File System Object

    what happens if you put<BR><BR>response.write newpath<BR><BR>at the top of that code snippet?<BR><BR>cp

Posting Permissions

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