English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

is there a free program?
can you just set it? im planning to move a file to another computer...i am going to move all sorts of files but i want them to delete after a while

2006-06-23 12:23:19 · 4 answers · asked by Holodude 2 in Computers & Internet Programming & Design

how do you set the batch file?

2006-06-23 12:39:43 · update #1

could you put the file together with the batch file? how do you write it and how do you have it so the cmd doesnt pop up

2006-06-23 14:55:05 · update #2

4 answers

You will need to set up a batch file to delete the file and put batch file in the scheduler. Set up when you want to run the batch file to delete the file in your scheduler

2006-06-23 12:27:20 · answer #1 · answered by knitting guy 6 · 3 0

If you have a knowledge on computer programming you can do this easily. You can set the condition like this in C:
1. set time for a specific number of seconds.
2. add the current date using clock ().
3. check if the condition met.
4. if met delet the file.

Once you use the logic and design the program, it is easy to run this using a scheduler every time you log in. So it will activate the program and check to evaluate the condition. If met it will delet the file.

2006-07-07 07:23:14 · answer #2 · answered by Virtual Ranger 1 · 0 0

Files can't be set to delete themselves just like that. You could write a simple program yourself. This could check the current date, and delete the file(s) if it is equal to or later than the intended delete date. Assuming you're running Windows, you could put a shortcut to it in the startup folder, or in one of the registry keys so it runs every time the computer starts up.

2006-06-23 19:31:24 · answer #3 · answered by Anonymous · 0 0

One file can't del itself but you can del it depent on other action , for example in webdesign when visitor , visiting some page you can delete file (expired) from server or another example you can create batch file and put it to start up windows xp and we xp runs this delete another file , ...

2006-06-24 04:00:44 · answer #4 · answered by Spitrabergâ?¢ 4 · 0 0

fedest.com, questions and answers