| | |
keeping file from web browser cache
![]() |
Hi,
I have a problem - when I close my web browser it clean up cache files.
The same if is process terminated by tool like debugger or task manager.
Only known way how to do it is break power, but...
So is there a way how to bypass filesystem or kill process at once?
Thanks for any useful advices in advance!
I have a problem - when I close my web browser it clean up cache files.
The same if is process terminated by tool like debugger or task manager.
Only known way how to do it is break power, but...
So is there a way how to bypass filesystem or kill process at once?
Thanks for any useful advices in advance!
•
•
Join Date: Dec 2006
Posts: 1,089
Reputation:
Solved Threads: 164
> is there a way how to ... kill process at once?
posix: kill( process_id, SIGKILL ) ; http://www.hmug.org/man/2/kill.php http://www.hmug.org/man/3/signal.php
windows: TerminateProcess( process_handle, exit_code ) ; http://msdn2.microsoft.com/en-us/lib...14(VS.85).aspx
posix: kill( process_id, SIGKILL ) ; http://www.hmug.org/man/2/kill.php http://www.hmug.org/man/3/signal.php
windows: TerminateProcess( process_handle, exit_code ) ; http://msdn2.microsoft.com/en-us/lib...14(VS.85).aspx
•
•
Join Date: Dec 2006
Posts: 1,089
Reputation:
Solved Threads: 164
> What I want is to freeze content of cache folder.
> Just like I would pull power cord - in this case all files keep as they are
> and after reboot I can copy them
wouldn't it be simpler to just take a snapshot (copy the contents to a backup) of the cache folder when you want it rather than wait till after reboot?
> Just like I would pull power cord - in this case all files keep as they are
> and after reboot I can copy them
wouldn't it be simpler to just take a snapshot (copy the contents to a backup) of the cache folder when you want it rather than wait till after reboot?
•
•
Join Date: Dec 2006
Posts: 1,089
Reputation:
Solved Threads: 164
if you have sufficient disk space to hold snapshots, you could use the Volume Shadow Copy Service. this works similarly to file system snapshots available on unix file systems through mksnap_ffs. see http://en.wikipedia.org/wiki/Volume_Shadow_Copy and http://technet2.microsoft.com/Window....mspx?mfr=true
![]() |
Similar Threads
- SpeedUp Your Window XP Never Than Before (Windows tips 'n' tweaks)
Other Threads in the C++ Forum
- Previous Thread: casting from userData
- Next Thread: Casting problem... (Win32)
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ char class classes classified code coding compatible compile console conversion count date delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file filewrite forms fstream function functions game givemetehcodez graph gui homeworkhelp homeworkhelper homeworksolutions iamthwee icon if...else ifstream input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node object output play pointer problem program programming project python random read recursion reference rpg string strings struct symbol temperature template test text text-file toolkit tree url values variable vector video win32 windows winsock wordfrequency wxwidgets






