kaylabear
ETID is suggesting you use the 'built in' environment variables (which is also what I would have sugggested!)
I'm not working at the mo and can't remember full details and my win 95 machine is a bit limited. If you open a DOS window and type SET <enter> you will get a list of available variables - I think set by your system.
In your case you should see something like
COMPUTERNAME = "MYLITTLEPC1" or however they're named. The code ETID posted returns this name. You can use this syntax for checking the temp directory, prompt information, path statement and so on.
Can't check myself but I think you will have to look deeper if you want the name of a remote PC ie not the one running the routine.
Hello everyone! If a man says something and there are no women there to hear him, is he still wrong?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.