forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to set properties for files?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Jul 29, 2004 4:05 pm    Post subject: How to set properties for files? Reply with quote

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
View user's profile Send private message
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Thu Jul 29, 2004 4:08 pm    Post subject: Reply with quote

I don't know API programming, but is this of any help?

http://www.microsoft.com/technet/community/scriptcenter/filefolder/scrff64.mspx

_________________
Joe Floyd
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Thu Jul 29, 2004 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1060
Location: India

PostPosted: Mon Aug 02, 2004 5:24 pm    Post subject: Reply with quote

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
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group