DrDOS
Member
Hello,
I'm having an issue running batch files. It may be just a quirk of how Vista works but it has been inconsistent. One time it works and then it don't.
For example, SET command in batch file vs command prompt
So when I use some (or one) SET commands in a batch file, nothing gets set. When I use the same variables at a command prompt, all is as I expect.
UAC is off and I'm the only Admin.
Examples are:
SET UA=1
SET UB=2
SET UC=3
SET UD=4
SET UABCD=1234
What am I doing wrong here?
Are there are any rules when running either a .BAT or .CMD files? I used them in previous OSes and got used to them. Maybe I need to switch to something else?
I need something native and I don't want to buy any programming software. I am on a fixed income so trying to be creative with what's there.
Using Vista HB SP2.
Thanks a bunch! :D
I'm having an issue running batch files. It may be just a quirk of how Vista works but it has been inconsistent. One time it works and then it don't.
For example, SET command in batch file vs command prompt
So when I use some (or one) SET commands in a batch file, nothing gets set. When I use the same variables at a command prompt, all is as I expect.
UAC is off and I'm the only Admin.
Examples are:
SET UA=1
SET UB=2
SET UC=3
SET UD=4
SET UABCD=1234
What am I doing wrong here?
Are there are any rules when running either a .BAT or .CMD files? I used them in previous OSes and got used to them. Maybe I need to switch to something else?

I need something native and I don't want to buy any programming software. I am on a fixed income so trying to be creative with what's there.
Using Vista HB SP2.
Thanks a bunch! :D