PDA

View Full Version : Reading dos variable



michelle
02-28-2007, 07:22 AM
Hello everybody,

For msWord application we do need the name of the server, this name is placed in a dos variable. Is there any possibillity for reading a dos variable in vba / vb6? Are there mabe other ways for reading the servername where the document is started?

Can someone give us script?

Regards,
Michelle.

michelle
02-28-2007, 07:33 AM
Hello everybody,

We found!

Environ("servername")

regards,
Michelle.

michelle
02-28-2007, 07:35 AM
We found: Environ("servername")
It's working!