Computing.Net > Forums > Disk Operating System > changing the computer name in DOS

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.

changing the computer name in DOS

Reply to Message Icon

Name: Chandie
Date: January 19, 2001 at 03:38:44 Pacific
Comment:

Hi! Can anyone tell me how to change the computername in DOS. Is there a utility?
Thank you for your answers.




Sponsored Link
Ads by Google

Response Number 1
Name: Michael
Date: January 19, 2001 at 06:02:20 Pacific
Reply:

Can you be a little more specific? Are you using a DOS only machine? Or do you mean via a DOS box under windows? Also are you running a network client.

Thanks,
-Michael


0

Response Number 2
Name: Chandie
Date: January 19, 2001 at 07:11:28 Pacific
Reply:

Thanks for answering Michael!

I am downloading a image (Windows NT 4.0) created by drive image. To do this i am using a DOS boot disc that connects to the image share. After the image is downloaded i want to change the computername. You can do that by using sidchanger. The problem is that I want to get a dialogbox that asks me to enter a valid computername. This unkonwn utility must then check a textfile to se if I wrote a valid computername. Then I will use sidchanger to change the computername.

I hope you understand my problem:-)

Regards: Chandie


0

Response Number 3
Name: Michael
Date: January 20, 2001 at 17:17:29 Pacific
Reply:

Chandie,

What you want to do depends on whether or not Ghost Walker (Norton's SID & computer name changing utility) will accept switches. If it doesn't, then there's no need to do any more research. Do a gwalker /? or gwalker /h at a dos prompt to see if gives you any command line options. (I would do it myself but I am at home and I don't have a copy of Ghost here).

Hope that helps,
-Michael


0

Response Number 4
Name: Laurence
Date: January 27, 2001 at 23:26:44 Pacific
Reply:

NT input routine
Originally given by Walter Zachery, improved by Clay Calvert.

@echo off
echo.
echo Enter Input:
for /f "tokens=*" %%a in (
'format/f:160 a: ^|find "..."') do set Imput=%%a
set Input=%Input:~30%

This approach will spin the floppy drive, but won't change anything. The drive does not need to be occupied.


Watch for wrapped lines!

More NT stuff here:
http://home7.inet.tele.dk/batfiles/main/ntbatch.htm

Batfiles: The DOS batch file programming handbook



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Need a copy of ll3.exe how can i find hidden fil...



Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: changing the computer name in DOS

Changing names in dos www.computing.net/answers/dos/changing-names-in-dos/12456.html

Using the Computer Name in a Batch Program www.computing.net/answers/dos/using-the-computer-name-in-a-batch-program/5560.html

HOW TO Change Date Format in DOS www.computing.net/answers/dos/how-to-change-date-format-in-dos/4848.html