Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: variables help  (Read 6127 times)

0 Members and 1 Guest are viewing this topic.

BatchRocks



    Hopeful
  • Thanked: 3
    Re: variables help
    « Reply #15 on: February 20, 2009, 09:35:22 AM »
    Didn't Dias show him by doing the Environmental Vars?

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: variables help
    « Reply #16 on: February 20, 2009, 09:59:16 AM »
    yes, but via the System Properties Dialog.

    Not sure if there is a way to do the same thing via DOS commands- heck I couldn't even get it to work in my program by directly changing the global session variables in the registry...
    I was trying to dereference Null Pointers before it was cool.

    Dias de verano

    • Guest
    Re: variables help
    « Reply #17 on: February 20, 2009, 10:31:57 AM »
    Thanks M.r Dias de verano

    I know this way

    How can I do it in DOS mode?

    Do you mean real MS-DOS, or Windows command prompt? in the former, you modify autoexec.bat. In the latter you can use setx.exe from the Windows 2000 Resource Kit, or alternatives such as pcset.exe or setenv.exe. Use Google to find these.


    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: variables help
    « Reply #18 on: February 20, 2009, 10:53:18 AM »
    blasted resource kit...  ;D
    I was trying to dereference Null Pointers before it was cool.

    feras

      Topic Starter


      Beginner

      Thanked: 1
    • Experience: Experienced
    • OS: Linux variant
    Re: variables help
    « Reply #19 on: February 21, 2009, 12:16:13 PM »
    Thank you all  :)

    i mean in Windows command prompt

    Dias de verano

    • Guest
    Re: variables help
    « Reply #20 on: February 21, 2009, 12:21:30 PM »
    Thank you all  :)

    i mean in Windows command prompt

    We know that. Above you will see your answer.

    feras

      Topic Starter


      Beginner

      Thanked: 1
    • Experience: Experienced
    • OS: Linux variant
    Re: variables help
    « Reply #21 on: February 21, 2009, 12:23:23 PM »
    yes yes

    I don,t ask

    I just thank you

    thank you again   ;)

    Dias de verano

    • Guest
    Re: variables help
    « Reply #22 on: February 21, 2009, 12:39:44 PM »
    yes yes

    I don,t ask

    I just thank you

    thank you again   ;)

    Please come back if you need more help... good luck...  :)

    BatchRocks



      Hopeful
    • Thanked: 3
      Re: variables help
      « Reply #23 on: February 22, 2009, 08:17:57 AM »
      yes yes

      I don,t ask

      I just thank you

      thank you again   ;)

      Please come back if you need more help... good luck...  :)

      Very professional, Dias.