current path

Discussion in 'Web Design, HTML And CSS' started by heiro, Oct 1, 2007.

  1. heiro

    heiro New Member

    Joined:
    Sep 7, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    VBScript - Im making my school project now and i have difficulty on how to get the current path of my script.Pls help me on how to do this.....

    for example if i'll copy it anywhere in my directory it could get it's current path

    Note:This script will be compiled to .EXE
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Now my question is how do you compile your VBScript into an exe. It should be only VB and not VBScript.
     
  3. heiro

    heiro New Member

    Joined:
    Sep 7, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    you can use vbs2exe.It compile vbscript to exe file
     
  4. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Even if you can do that it will not serve the purpose of VBScript which is to run into a browser.
     
  5. heiro

    heiro New Member

    Joined:
    Sep 7, 2007
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    0
    maybe you are right, but i am trying to go beyond what vbscript is for...

    i already get the answer....
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice