PC Review


Reply
Thread Tools Rate Thread

Assess file properties

 
 
New Member
Join Date: Apr 2010
Posts: 1
 
      17th Apr 2010
Hi, I have a folder full of hundreds of word documents (word 2002 version).

I need to loop trough all the docs in the folder and move them to 2 other folders. Now this itself is not an issue, however my criteria is.

What I need to do is assess the document to see if it is password protected and if so move it to one folder and if not move it to the other.

I'm not interested in hacking the password (I know what it is!), I just need to see if it is password protected or not.

Is there a way to do this efficiently without having code that tries to open each document and then use error trapping to identify that it is password protected when it fails to open?

Thanks
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating a SHA hash - assess text file identity =?Utf-8?B?R1BP?= Microsoft Access VBA Modules 3 20th Aug 2006 09:17 AM
Properties transferring from excel cells to word file properties =?Utf-8?B?bHVibw==?= Microsoft Excel Programming 4 12th Jul 2005 11:24 AM
How do I check to see if file exists in assess 2003 query? =?Utf-8?B?amFjayBtY2ZhZGRlbg==?= Microsoft Access Queries 2 25th Mar 2005 02:39 AM
Properties File in .Net Similar to Java Properties file Sachin Microsoft C# .NET 2 31st Jan 2005 05:13 PM
Re: right-click nor file-properties will display file properties Maureen Goldman Windows XP Basics 0 17th Aug 2003 03:06 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:17 PM.