Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Windows 2003 Server (TECHNET) > Changing Extended File properties
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 17th July 18:52
vhgtqr
External User
 
Posts: 1
Default Changing Extended File properties


In VBScript I can use the command "GetDetailsOf" to acquire all properties of
a particular file (35 properties are listed). I want to know if there is a
VBA script method or command I can use to change these properties of a file.
I would like to alter some of the properties of mp3 file (e.g. property
"album" or "genre") so I can create new groups based on my own division
parameters.

Kind regards,


Gilbert Van Hauwe
  Reply With Quote


  sponsored links


2 17th July 18:53
ziminski
External User
 
Posts: 1
Default Changing Extended File properties


take a look at objFile.Attributes


Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.GetFile("C:\FSO\TestScript.vbs")

If objFile.Attributes = objFile.Attributes AND 1 Then
objFile.Attributes = objFile.Attributes XOR 1
End If
  Reply With Quote
3 17th July 18:53
michael harris mvp mikhar at mvps dot org
External User
 
Posts: 1
Default Changing Extended File properties


Unfortunately the Shell.Automation object model does not expose any
SetDetailsOf counterpart of GetDetailsOf and I know of no other scriptable
way to do so. Many people have asked over the years to no avail.


--
Michael Harris
Microsoft MVP Scripting
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666