I'm trying to define and use a variable in a batch file. It looks like it should be simple:
@echo off
set location = "bob"
echo We're working with "%location%"
The output I get is the following:
We're working with ""
What's …
Is it possible to set a environment variable at the system level from a command prompt in Windows 7 (or even XP for that matter). I am running from an elevated command prompt.
When I use the set command (set name=…
I installed Python 2.6 and Python 3.1 on Windows 7 and set environment variable: path = d:\python2.6.
When I run python in cmd, it displays the python version 2.6, which is what I want!
But, when I wrote a script in a bat file …