[Starkit] where are .dll files written to?
Matthias Hoffmann
M.Hoffmann at hmk.info
Wed Mar 7 17:30:05 CET 2007
Hello again,
the problem in deleting these files early would be that program files (.exe, .dll etc.) are locked
from the system if they are loaded in memory.
I don't know an elegant solution to the problem other then radically deleting the user's
%temp%-folder from time to time, at logoff or at logon....
I forgot in my first reponse to note that the fact that the files are copied out to the file system
implies that the destination is writable.... but, sure, with the temp folder this should be the case
anyway....
There may arise another serious problem in secured environments: It is possible to restrict the
files a user may run through system policies (by filenames or folders). Therefore, a dynamically
extracted and named program possibly never could run.......
Regards
Steve Blinkhorn schrieb:
>> Hello,
>>
>> On several systems I ran starpacks/kits at, those files are written to the temporary folder of the
>> current working environment, which is in most cases the current user's temp directory, to which the
>> environment variable TEMP points to.
>>
>> Just do a
>>
>> cd %temp%
>>
>> at the command prompt; this should lead you to the right place.
>>
>
> Thank you for such a prompt and helpful response. What I find on a
> Win2000 Professional box is that the files are copied to %temp% as
> TCL???.tmp, and deleted on normal exit. But they persist if the
> application is crashed out rather than exiting cleanly.
>
> I am no expert on Windows internals, so I do not know whether these
> files need to remain accessible throughout the runtime of an application
> or whether they are loaded into memory just once - in which case it would
> seem sensible for them to be deleted immediately rather than only on normal
> exit from the application. But I imagine that this is a matter for
> the Tcl core rather than just Starkits.
>
--
Mit freundlichem Gruß,
M.Hoffmann
_________________________________________________________________________
D A K - Unternehmen Leben
Geschäftsbereich IT-Services
Client-Server-Systemtechnik (007460)
Nagelsweg 27-31, 20097 Hamburg
Tel.: (040) 2396-1784
mailto:Matthias.Hoffmann at dak.de
http://www.dak.de
More information about the Starkit
mailing list