Set environment variables
Results 1 to 5 of 5

Thread: Set environment variables

  1. #1
    Join Date
    Jun 1999
    Location
    Portland, Maine, USA
    Posts
    197

    Set environment variables

    Hey

    I want to be able to set an environment variable to dos from an executable file (.com or .exe)to do "set SU_PASSWORD=gobly"

    How can I accomplish this without being in an actual dos shell

    thanks

    out

  2. #2
    Join Date
    May 2001
    Location
    Caterham, Surrey, UK
    Posts
    213
    Are you going to create this .exe yourself in VB or something ??

    ------------------
    There is nothing to fear but fear itself
    There is nothing to fear but fear itself

  3. #3
    Join Date
    Jun 1999
    Location
    Portland, Maine, USA
    Posts
    197
    I'll try to. Unless there is already a script or program that will do it for me.

    thanks

  4. #4
    Join Date
    May 2001
    Location
    Caterham, Surrey, UK
    Posts
    213
    I'm not sure what the code would be in VB to set an environment variable. It's probably quite simple. If noone here can help, go to
    www.vbexplorer.com

    VBexplorer is very similar to this site except its all VB.

    Why does it have to be a binary file ?? I'm dying to know...

    ------------------
    There is nothing to fear but fear itself
    There is nothing to fear but fear itself

  5. #5
    Join Date
    May 2001
    Location
    Caterham, Surrey, UK
    Posts
    213
    No need to reply - I read the threads on the other forum. I understand what you are trying to achieve. Try vbexplorer as mentioned above...

    ------------------
    There is nothing to fear but fear itself
    There is nothing to fear but fear itself

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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