I want to be able to send documents to a flash drive and allow it to delete itself after 6 months. Is there a software similar to what I'm asking for.
[Moved from Ask for Help forum. ~jaco0646]
Software
Started by
kerrymatthews405
, Jun 11 2009 06:16 AM
6 replies to this topic
#1
kerrymatthews405
Posted 11 June 2009 - 06:16 AM
#2
Posted 11 June 2009 - 06:29 AM
I have some questions so I can better understand what you want.
1) Do you want the original file (on the computer) or the copy (on the flash drive) to be deleted after 6 months?
2) Must the file be deleted EXACTLY after six months, or is first run after 6 months acceptable?
3) Are the documents in a "raw form" (e.g. doc, txt, rtf, etc.), or a "wrapped form" (e.g. zip, rar, exe)?
1) Do you want the original file (on the computer) or the copy (on the flash drive) to be deleted after 6 months?
2) Must the file be deleted EXACTLY after six months, or is first run after 6 months acceptable?
3) Are the documents in a "raw form" (e.g. doc, txt, rtf, etc.), or a "wrapped form" (e.g. zip, rar, exe)?
#3
Posted 11 June 2009 - 06:33 AM
allow it to delete itself after 6 months
Files do not die of old age :roll:.. However, you may run a script periodically to delete the older files.
The following example parses the TEMP folder and deletes file exceeding 180 days ( since last modified )
ChkDt := A_Now
ChkDt += -180,Days
Loop %A_Temp%\*.*
{
File := A_LoopFileLongPath
FileGetTime, FileDt, %File%
If ( FileDt > ChkDt )
FileDelete, %File%
}
#4
Posted 12 June 2009 - 03:06 AM
Congrats to animeaime for 1000 posts.
#5
Posted 12 June 2009 - 03:12 AM
Thanks :oops:Congrats to animeaime for 1000 posts.
#6
Posted 12 June 2009 - 02:34 PM
Hear, hear! 8)Congrats to animeaime for 1000 posts.
#7
Posted 12 June 2009 - 07:04 PM
You can add an AUOTRUN.INF file to flash drives. I use them to add custom icons. For example, I have a 8GB Kingston memory stick with the following:
and an icon file. Makes it easy to pic out my flash drive from My Computer, however, some antivirus programs don't like them.
In any case, there's probably a way to make the autorun file run an executable file placed in the flash drive's root each time it's connected to a computer. If so, you could convert SKAN's script into an exe and use that. Of course if you plug your flash drive into a computer with the wrong time, you might lose all your data.
[AutoRun] label=KING_8G ICON=KING_8G.ICO
and an icon file. Makes it easy to pic out my flash drive from My Computer, however, some antivirus programs don't like them.
In any case, there's probably a way to make the autorun file run an executable file placed in the flash drive's root each time it's connected to a computer. If so, you could convert SKAN's script into an exe and use that. Of course if you plug your flash drive into a computer with the wrong time, you might lose all your data.




