Naming New Folder

Results 1 to 3 of 3

Thread: Naming New Folder

  1. #1
    LAwrence and confused Guest

    Default Naming New Folder

    Hi, am trying give a new folder that a created the users id that is passed through a variable. It is not allowing me to do so, I believe because I am using the incorrect sytax. <BR><BR>CODE:<BR> set s=server.createobject("scripting.filesystemobject" )<BR> s.createfolder("d:
    ew folder\"" & ID &"")<BR><BR>ERROR:<BR><BR>Error Type:<BR>Microsoft VBScript compilation (0x800A0409)<BR>Unterminated string constant<BR><BR>What is the corrrect way to go about this?

  2. #2
    naik Guest

    Default RE: Naming New Folder

    ew folder&#039;" & ID & "&#039;")<BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Naming New Folder

    Thanks naik you are the man. Works perfectly

Posting Permissions

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