DOS command variable question

Tangent

[H]ard|Gawd
Joined
Jan 7, 2002
Messages
1,482
I've got a few batch files that I use at work that copy several files from a server to a Windows 2000 c:\winnt directory. What I want to do is make those work with Windows XP as well and copy to the c:\windows directory when needed. I know that at the run command if you browse to a workstation you can enter \\workstation name\admin$ and it'll open the winnt or windows directory depending on what the admin share happens to be on that workstation. What's the equivalent of the "admin$" for my batch files?
 
Back
Top