Active Desktop Problem - Little Help?

Discussion in 'Windows Desktop Systems' started by Blitzkrieg, Feb 23, 2003.

  1. Blitzkrieg

    Blitzkrieg Guest

    Just making my first active desktop right now and I ran into a small problem. Instead of using the .vbs files I am trying to have the links open the files directly using the // method someone here mentioned.

    Problem is that if the path has a space in it, the code fails

    ie

    C:\\mIRC\\mIRC.exe

    this will work...but

    C:\\Kazaa Lite\\kpp.exe

    will not work because of the space in between kazaa and lite...

    just looking for a fix, i'm almost certain its something quite simple.

    any help would be appreciated :)
     
  2. j79zlr

    j79zlr Glaanies script monkey Political User

    Messages:
    2,725
    Location:
    Chicago
    I don't know vbs, but with DOS you have to put quotes aroung the path or else it would see it as C:\\Kazaa and then Lite\\kpp.exe