Results 1 to 3 of 3
  1. #1
    3 Star Lounger Omega3's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, California, USA
    Posts
    343
    Thanks
    2
    Thanked 1 Time in 1 Post

    VB Script (Script)

    I
    You know it's time to diet when you push away from the table and the table moves.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: VB Script (Script)

    Windows hasn't fully upgraded all of its plumbing for file and folder names that contain spaces. Use triple " marks before and after the path and it should work. (The reason it is triple: VBScript and VBA use double " marks to represent a literal " in a string, so when the code runs, the Shell program will get the path with single " around it.)

  3. #3
    3 Star Lounger Omega3's Avatar
    Join Date
    Jan 2004
    Location
    Los Angeles, California, USA
    Posts
    343
    Thanks
    2
    Thanked 1 Time in 1 Post

    Re: VB Script (Script)

    Bingo! The triple " worked like a charm. I thought MS would have updated the shell script to handle spaces by now but they obviously haven't. Thanks for the help!
    You know it's time to diet when you push away from the table and the table moves.

Posting Permissions

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