reply to discussion |
Results 1 to 14 of 14
- 08-17-2002, 10:02 PM #1
Does anyone know of a program which deletes a file after a set time by itself??
thnx!
› See More: Does Anyone Know Of A Program.........?˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-17-2002, 10:03 PM #2
umm does that make sense?
˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-18-2002, 02:47 AM #3
Other than some form of Virus, nothing I can think of...
[.home] [.faq] [.search] [.active] [.chat] [.hitrax]
Member of theBeer Slammin, File Leechin, Server Crashin'!
Crew!
- 08-18-2002, 02:49 AM #4
hmmmm ur probably rite.............darn it
˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-19-2002, 02:04 AM #5
Scheduling tasks!
Dear Serena,
The DOS command 'DEL' can be used to delete a file, e.g.
DEL c:\midi_folder\myworstmidi.mid
A command file could easily be created with NOTEPAD, which could contain the above DOS command only. You should use 'SAVE AS...' and give it a name ending with .CMD (or .BAT on pre-Windows NT/2K systems).
e.g. DELETEMYMIDI.CMD
So now you have the command to delete the file in a command file. All we need to do now is tell Windows to execute the command file and when.
You use the "Task Scheduler". It's wonderful.
Look under Programs, Accessories, System Tools, Scheduled Tasks. Add a task. The program to run is your .CMD (or .BAT) file, but if you are using a wizard, just select the 'Command prompt'. You can select a range of options regards time, e.g. Daily, weekly, one time only. You need One Time only. Tell Windows when you want it to execute. You may need to supply your username and password depending on which Op. Sys. you are using.
If you were using a wizard, the you need to use the advanced options, to change the program from the Command prompt to your .CMD(or .BAT) file. Replace the name of the command prompt program (...\COMMAND.EXE or ...\CMD.EXE) with your filename and path (e.g. C:\DELETEMYMIDI.CMD).
Obviously, your system should be running when the task is due to execute. Not sure what happens if its not.
Good luck.
Hint: Try it using a non-destructive DOS command first, e.g. DIR /S. When the task executes, a window should pop up and you should see the effects of the command within the window.
Clear as mud, huh?
Regards
DavidSongs posted by me have either been editted for a Yamaha PSR-740 or have been found on the internet and are in their original state. If you like them, apply for MidiHub membership and see all my songs online (plus other peoples collections too).
[btext]- Member of the[/btext]Name Glow
[atext]crew![/atext]
- 08-19-2002, 04:46 AM #6
thnx there wil.....i was thinking more along the lines of a program that u can attach or embed into another file or prgram which will automatically delete the file after a set period
thnx again˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-19-2002, 09:19 AM #7
Mmmmm!, Errrrrrrr!, how to say this???
Data is data. Anything that isn't a program (.COM, .EXE or a script (.CMD, .BAT etc)) is data. Programs are lists of instructions. Only programs can do things (like delete files) and only then when the op.sys. is told to execute them.
So... the bottom line is wot those other guys said earlier... ie, not possible.
But, is that a problem?. There's quite a bit of power in good old DOS commands. You may not be able to do what you want your way, but I bet you can using the tools supplied by Microsoft.
All the best
Wil...Songs posted by me have either been editted for a Yamaha PSR-740 or have been found on the internet and are in their original state. If you like them, apply for MidiHub membership and see all my songs online (plus other peoples collections too).
[btext]- Member of the[/btext]Name Glow
[atext]crew![/atext]
- 08-21-2002, 01:35 AM #8
hmmm....i think artisan is rite, either its a virus or its not possible.
Wil...i know u can delet from dos but i was looking for something that will delete by itself.....like if i sent a file to my other computer a could put something with it that will delete it by itself, leaving no trace
thnx˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-21-2002, 04:17 AM #9
Without knowing the ins and outs of what you are doing and why, it difficult know what to suggest, but, how about.
1. Create a temporary directory on your target pc
2. Create a scheduled task to run on that pc every ??? week, which delets the contents of the directory
Anyway... by the way, a virus is a program. Even viruses have to execute to do their damage.
CheersSongs posted by me have either been editted for a Yamaha PSR-740 or have been found on the internet and are in their original state. If you like them, apply for MidiHub membership and see all my songs online (plus other peoples collections too).
[btext]- Member of the[/btext]Name Glow
[atext]crew![/atext]
- 08-25-2002, 04:08 AM #10theproducerGuest
dos commands do not work in non-dos based environments
e.g. in win XP dos doesn't exist anymore so any dos command will not be recognized and where do you want to execute your commands?
- 08-25-2002, 05:15 AM #11
Windows 95, 98, NT and 2K all have virtual DOS environments in which many DOS commands work (plus extras). Real DOS programs dont usually work of course. You have to use the equivalent programs provided within the virtual DOS environment.
Don't know about XP.
I'll stop there. We arent talking unix and its various flavours here are we?Songs posted by me have either been editted for a Yamaha PSR-740 or have been found on the internet and are in their original state. If you like them, apply for MidiHub membership and see all my songs online (plus other peoples collections too).
[btext]- Member of the[/btext]Name Glow
[atext]crew![/atext]
- 08-26-2002, 03:11 AM #12
Sorry §ereña - looks like I interpreted what you were asking incorrectly - I was in left field. I took it to mean that you were missing some files (or something) and were wondering about possible causes.
Wilk is Right and I was on the wrong track.
If you were to send a batch of files to another machine, (providing you had some form of access to that machine) you could set up a scheduled task to run a .cmd/.bat file to remove them (just as Wilk was saying).
However, if you are trying to do this to someone elses machine (as a method to protect copywritten material or what have you) - it could be very tricky. If they place the files in an unknown location, move them or rename them - it could be very very difficult. And very illegal if you go about it the wrong way.
But on your machine(s) you could definately follow Wilk's suggestions and get the results (it sounds like) you're looking for.
What exactly are you tryking to do (if you don't mind my asking)?[.home] [.faq] [.search] [.active] [.chat] [.hitrax]
Member of theBeer Slammin, File Leechin, Server Crashin'!
Crew!
- 08-26-2002, 05:21 AM #13
thnx for the advice guys!
*lol* artisan, im not working for the FBI is thats what ur implyingj/k................i know it sounds suspicious, but i was watching something the other day and wanted to try it out.........just embedding a hidden file into something so it will delete after a set period without a trace............something to play around with, don't worry, i don't plan to take over the world
*strokes white cat and laughs evilly*
˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
- 08-26-2002, 05:25 AM #14
oh and, theproducer, did u say there's no DOS in XP??? or did i just misread as usual
˚˚°º §ereña º°˚˚
[btext][/btext]
3rd Member of the Name Glow crew!
[atext][/atext]
Similar Threads
- LG enV
- Sprint PCS
- Samsung
- Panasonic
- T-Mobile
Is it difficult to be an ITSHAN?
in Chit Chat