Finding path name of local c drive from another server. - windows 7 SAS Enterprise

morinia
morinia used Ask the Experts™
on
Experts,


I am trying to define a libname in SAS enterprise which is running from another server. In order to do this I need the full path to my machine inclusive of server

Does anyone know if there is a command in Windows 7 to get this information?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
If I'm understanding you correctly this should work in a run command as long as you have rights.

\\servername\C$\

From there you can put in whatever path you need.
if i understand you correctly, you are trying to find out your machine name? if so, from command prompt type: hostname - the name of your machine will be displayed...

from there, if you don't have a share defined, you could use the method above and reference the path from C$ - provided you have the rights... otherwise, if you have the path already shared out you could reference it using the share name e.g. \\machinename\sharename
moriniaAdvanced Analytics Analyst

Author

Commented:
How do I find the server name?
the server name would depend on the SAS setup... it's a hard question to answer without knowing how it's being installed... if you have access to the management console, you might be able to find the answer there - depending on how much security has been put in place...

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial