Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
retrieve Win98 hostname batch file
Name: jagarcia Date: June 21, 2004 at 06:02:59 Pacific OS: Win98 CPU/Ram: PII 158mbRAM
Comment:
1- I want to get the Win98 hostname trough a batch file like Win2000 'hostname'.
2- Also, does anybody know the regedit /e command for win98?
Name: karluk87 Date: June 25, 2004 at 02:03:56 Pacific
Reply:
Hi. Well, I dahnah 'bout the second question, as I use unix, but if you know the command ipconfig, I can't remember, but if it displays the hostname you could just go:
@echo off ipconfig
And it'll display some IP addresses or something. Well, that's the best I can do. Hope it helps.
Summary: NT systems have the %OS% variable set by default to 'Windows_NT', and non-NT systems don't. So, if you just want to act depending if the OS is NT (Win NT4,2000,XP) or non-NT (Win9x, Dos 6.22), this wi...
Summary: Miskva is right about getting the list, but Edwin suggested a solution which I don't know if works, but is definitively dependent on a 3rd party application. That means it won't run in most of the reg...