DosTips.com
A Forum all about DOS Batch
Skip to content
Search
Advanced search
Quick links
Unanswered topics
Active topics
Search
The team
FAQ
Login
Register
DosTips.com
Board index
Search
Unanswered topics
Active topics
Search found 2 matches
Go to advanced search
Search
Advanced search
Search found 2 matches • Page
1
of
1
by
notb
18 Oct 2006 13:45
Forum:
DOS Batch Forum
Topic:
Hostname in batch file
Replies:
2
Views:
15402
Thanks for the tip on the FOR loop, I didn't know.
As far as the presence of the env var is concerned, wow, that's embarrassing
I'm certainly all set now.
Jump to post
by
notb
16 Oct 2006 11:31
Forum:
DOS Batch Forum
Topic:
Hostname in batch file
Replies:
2
Views:
15402
Hostname in batch file
In a batch file, how can I get the return value of a command into a variable? For example, I'd like to have a variable set with the 'hostname' return value.
Jump to post
Display:
All results
1 day
7 days
2 weeks
1 month
3 months
6 months
1 year
Sort by:
Author
Post time
Forum
Topic title
Post subject
Direction:
Ascending
Descending
Search found 2 matches • Page
1
of
1
Go to advanced search
Jump to
DosTips - Dos Batch
↳ DOS Batch Forum