Jump to content

Get MAC Address in DOS


cslee

Recommended Posts

Right i am off home for the day mate. Could you please post as much info as you think would help me sort this issue out. I will prob be in bed when you are most of the way through your day what with the time diff

But thank you so much for your help on this problem

Talk to you soon mate

Craig

All I can suggest is to double check and make sure that your DOS NIC drivers are working. This method works with both Packet and NDIS drivers, so as long as you have one type or the other working you should be good to go.

Link to comment
Share on other sites


Hello mate.

I have managed to get it working. Below is a copy of my autoexec.bat

@ECHO OFF

SET TZ=GHO+00:00

SET PATH=a:\net;a:\;G:\;

cd \net

CALL \NET\DOIT.BAT

a:\net\net init

a:\net\netbind.com

a:\net\umb.com

a:\net\tcptsr.exe

a:\net\tinyrfc.exe

a:\net\nmtsr.exe

a:\net\emsbfr.exe

REM ==============================================================

REM Attempt to connect to the network and generate a new

REM random name each time

REM ==============================================================

REM GENERATING WITHERS COMPUTER NAME

a:\net\ewc #V#=0B - GENERATING WITHERS COMPUTER NAME PLEASE STANDBY...#=07

a:\net\COMPNAME.EXE

a:\net\GSAR.EXE -f "-s**COMPUTERNAME**" "-r%COMPNAME%" A:\NET\SYSTEM.TMP A:\NET\SYSTEM.INI > NUL

NET START

A:\NET\NET.EXE USE G: \\casper\ghost

A:\NET\NET.EXE USE

g:\menu\home.bat

Anyway Many thanks for your help with this i am so over the moon that i have got it to work and we can now log on as many PC as we like and each has a diff computer name. I cant thank you enough

Many thanks for your time and for passing on how to set this up :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...