Hi
i have a new problem with enviromental variable to set. I have tried with Qbasic but not managed to achieve then tried to conjoin with vb.net. Underneath the code below i have an example. But don't know where to start.
Thanks

Code:
'Console.vb//console.exe
Module Module1
    Sub main()
        System.Environment.SetEnvironmentVariable("ENVIRON", "new")
    End Sub
End Module
'-.-
::(%instance batch%)//run.bat
@echo off
:main
console.exe
echo %ENVIRON%
set ENVIRION=
echo Press any key to continue...
pause>nul
:end