[BLACKBOX] HostFiles modification

From: [at]} <Aubrey>
Date: Thu, 17 Jan 2008 12:00:17 -0600

----boundary-LibPST-iamunique-632674815_-_-
Content-type: text/plain

In Blackbox 1.5
Module HostFiles

I install BlackBox in the server configuration, and I just bought a
used laptop with Windows XP. I run as underprivileged user hoping for
protection from security mischief so the user and application programs
have different access rights.

I also try to run the application so that others in my organization
who stumble across a shortcut can try out BlackBox.

Toward this end, I usually have the /USE %appdata%\BlackBox command
line option in the shortcut. When a peer (colleague or such) tries to
use this shortcut, the directory does not exist and things don't work
out. This is an environment where I don't have the authority to
create all the directories, that is, it is not a group of students in
my class where I can modify their space.

When faced with the vast stretch of chores to do around the house at
Christmas, I tackled this problem and made a modification to
HostFiles. This modification determines if the /USE command line is
present, and if not uses a default of %appdata%\<executable name> +
"_Work"

If that directory is not present, it is (silently) created. I don't
really know how to put up a dialog box that early in the startup
asking if it is ok with the user. Perhaps it is easy, but I did have
the other chores on my list and only did this much effort. I also
don't know how to make the appname follow the shortcut name instead of
the executable.

If there are good design reasons that this change is a bad idea, I'd
love to follow the discussion. Anyway, I wanted it this way and made
it so. Please feel free to grab the encoded file here.
http://home.grandecom.net/~amcintosh/aubrey/BlackBox/Files.txt
-- 
-- 
Aubrey McIntosh, Ph.D.
1502 Devon Circle
Austin TX 78723-1814
http://home.grandecom.net/~amcintosh/aubrey/Search/
----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-632674815_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XGYxXGZtb2Rlcm4gQ291cmllciBOZXc7fQ0Ke1xmMlxmbmlsXGZjaGFy
c2V0MiBTeW1ib2w7fQ0Ke1xmM1xmbW9kZXJuXGZjaGFyc2V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