1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,292
    Likes Received:
    365
    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,292
    Likes Received:
    365
    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