| View previous topic :: View next topic |
| Author |
Message |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
Posted: Thu Jul 29, 2004 4:05 pm Post subject: How to set properties for files? |
|
|
Is there a way to programatically get or set extended properties for files?
For example, when I right-click on a .TIF image file in windows explorer, it allows me to view and set properties such as Category, Keywords, and Comments. I would like to be able to read and/or set those properties via my application.
I have searched the web for a simple command-line program that could do that, but haven't found anything.
Any suggestions? _________________ Joe Floyd |
|
| Back to top |
|
 |
jwfv Valued Contributor

Joined: 19 Mar 2002 Posts: 422 Location: Beaufort, SC
|
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
Posted: Thu Jul 29, 2004 5:59 pm Post subject: |
|
|
jwfv, the link you gave is about vbscript, I don't think it can be converted to VDS code. As for your other question: you might be able to change these file attributes by using the binfile command and function, although it will be really slow... _________________ [ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial! |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Aug 02, 2004 5:24 pm Post subject: |
|
|
I can add a function to my VDSGUI dll or make another to run that (any VBS) script and get the values into VDS variables. I am too busy to do that currently though. _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
|