QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: hanness on April 12, 2020, 02:50:11 am

Title: How to get a value such as %SystemRoot% into QB64
Post by: hanness on April 12, 2020, 02:50:11 am
Let's say that I want to set a variable within QB64 to a value such as Windows %SystemRoot%. Is my only option for doing that to run a shell command, redirect the output to a file, then parse the file for that information, or is there a more elegant way of doing this?
Title: Re: How to get a value such as %SystemRoot% into QB64
Post by: luke on April 12, 2020, 02:58:08 am
http://www.qb64.org/wiki/ENVIRON$ (http://www.qb64.org/wiki/ENVIRON$)