'Excludes' in Backup Application

I have a backups application that works across all versions of windows (Win 98 upwards).
In my application it is recommended to backup only data files eg: XLS, DOC, MDB, DBF, PST etc. (excluding application, OS system files ,temp files etc).

Question:
Can I safely Exclude the <Windows> and <Program Files> folders assuming they do not contain any user entered data ?
As my program unnecessarily searches in them.
Allan_FernandesAsked:
Who is Participating?
 
David Johnson, CD, MVPOwnerCommented:
programdata\*
appdata\*
program files\
program files (x86)
windows
0
 
akbCommented:
It is possible for users to save data anywhere on their computer. I recently found Office documents in a user's windows folder.
The answer to your question is therefore no.
0
 
David Johnson, CD, MVPOwnerCommented:
1 check the special folders, do not rely on c:\users\username\documents ... and only backup them.. To get the location check the registry
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\
User Shell Folders]user shell folders
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

 
Allan_FernandesAuthor Commented:
No doubt the user can and in my program too I will only be setting it as Default so that user can modify.
What I want to know is that if someone is following convention then it look foolish for me to go thru the folders wherein data is typically not stored.
0
 
Allan_FernandesAuthor Commented:
Hi David Johnson,
The way we set the backup us typically
c:\*.doc?
c:\*.xls?
...

that covers all users files.
What I need is the exclusions
0
 
Allan_FernandesAuthor Commented:
Was this seggregation present from the earlier versions?
If not then I can optimise only for the later versions.

Re-checking :
program files\
program files (x86)
windows
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.