erik7426 Posted January 8, 2009 Share Posted January 8, 2009 (edited) I am implementing a remote assistance utility for our LAN. I know @WindowsDir will return the path for Windows on the local workstation, but how can I determine the path for Windows on a remote PC? I could hard-code C$\Windows and it would work for 99% of the PCs, but I want to make it as flexible as possible. Edited January 8, 2009 by erik7426 Link to comment Share on other sites More sharing options...
Developers Jos Posted January 8, 2009 Developers Share Posted January 8, 2009 Did you try to use admin$ which should map to %SYSTEMROOT% ? SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
erik7426 Posted January 8, 2009 Author Share Posted January 8, 2009 Did you try to use admin$ which should map to %SYSTEMROOT% ?Worked like a charm. Thanks Jos! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now