×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Windows File Custom Properties list utility

Windows File Custom Properties list utility

Windows File Custom Properties list utility

(OP)
Anybody have a utility that can generate a list of which files (in a given directory) do not have a certain custom property?  
Example:
I have a custom property called SP:DOC_NR and want to know which files in the directory are missing this property.

I have zero capability to write the utility myself.  It is possible for me to write (moreso hack/slash) a macro within the native application (SolidWorks mechanical design software) that will do what I want, but this will be significantly slower because it will open each file and then look for the property.  Also, why re-invent the wheel.  Any help is appreciated. Thanks.

 

-Dustin
Professional Engineer
Certified SolidWorks Professional

RE: Windows File Custom Properties list utility

(OP)
handleman,
Thanks again for the help.  I have attempted to run your SW macro and I get a runtime error 429.  When I go in and debug, the hi-lited line is regarding the DSO-thingy.  Your zip file contained the .swp file and the .dll.  Do I need to put the .dll somewhere special?

Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional

RE: Windows File Custom Properties list utility

You have to put the DLL file somewhere and then tell Windows where it is.  To do that, go to Start->Run and enter:

regsvr32 "C:\Whatever\The\path is\to where\you\put\it"

-handleman, CSWP (The new, easy test)

RE: Windows File Custom Properties list utility

(OP)
Do you have a recommendation as to where I should put it?  Should I just leave it in my folder with all of my SolidWorks Macros?  Or should I put it in some windows system type folder?

Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional

RE: Windows File Custom Properties list utility

(OP)
handleman,
Two stars for you.  You are the man. CSWP easy test or not (lol).  Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Resources

White Paper - PLM and ERP: Their Respective Roles in Modern Manufacturing
Leading manufacturers are aligning their people, processes, and tools from initial product ideation through to field service. They do so by providing access to product and enterprise data in the context of each person’s domain expertise. However, it can be complicated and costly to unite engineering with the factory and supply chain. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close