Hi Folks,
I'm trying to address the Windows requirement that software not attempt to
write to certain locations.
Now I know the easiest solution to this is to install programs to the root
and then, assuming I grant appropriate permissions to the user, the
software can write to that location.
But I'm trying to be "good". :)
My problem is that I want the error log file to be accessible to me across
the LAN. Right now, I just share out the program location to me as domain
administrator and then I can pick up the error log file from there.
I need to have that location shared to me in any case, because that's how I
do software updates; I just go through all the machines visible on the
network and drop copies into those locations.
But if my software is installed in C:\Program Files\My Program and the log
files will be written to C:\Users\[some user]\AppData\[some folder]\, how
can I get to that location without having to share the user's AppData folder?
I know that I can put a shortcut on the desktop to that folder and it will
work even though AppData is normally hidden. So presumeably I could put a
shortcut in the program installation location that points to where the log
files will go... except that I can't create that shortcut in a generic way.
I keep trying various permutations on
\\%COMPUTERNAME%\%USERNAME%\somewhere\, but that always resolves to the
local versions of those values on the machine I'm trying to access the
share from.
How can I get the shortcut to actually open the location on the OTHER
machine, and not mine?
Thanks for any suggestions.
Ken Dibble
www.stic-cil.org
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.