By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,600 Members | 1,887 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,600 IT Pros & Developers. It's quick & easy.

Urgent- How to Delete Backup By Scripts

P: 2
I have a task to write a java scripts that do the following:

1. delete the files from a backup systems
2. the deleted files stored in folders with a name of "backup's date formated as dd/mm/yy"
3. if the backup is 2 days old, then should be deleted automatically

I want the commands for this scripts. If you have the answer which I beleive is simple. Plz help me....

This is new language to me and I want to understand it
Sep 11 '06 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,916
I do not believe that javascript has access to the filing system of the computer on which it runs. This is a security feature otherwise it would be very easy to write malicious scripts to damage peoples computers.

Therefore what you want to do is impossible.
Sep 11 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.