Computing.Net > Forums > Programming > Need Help With Batch File!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Need Help With Batch File!

Reply to Message Icon

Name: cworkman29729
Date: May 26, 2009 at 20:11:36 Pacific
OS: Windows XP
Subcategory: Batch
Comment:

Hi I Have An App Thats In C# That Sets User Environment Variables

PCManufacturer
PCModel

I Need To Be Able To Read The Values From Them Varibles In A Batch File How Do I Do This?

I Have Tried %PCManufacturer% & %PCModel% But They Didn't Work!!



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: May 28, 2009 at 09:16:34 Pacific
Reply:

Environment variables flow one way. If your script starts that program, then your script cannot see any environment changes that program makes.


0
Reply to Message Icon

Related Posts

See More


FASM compiling help batch file



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Need Help With Batch File!

Need help with batch file www.computing.net/answers/programming/need-help-with-batch-file/9707.html

Need help with batch file www.computing.net/answers/programming/need-help-with-batch-file/12913.html

Need help on Batch file for Shutdow www.computing.net/answers/programming/need-help-on-batch-file-for-shutdow/16424.html