f13.net

f13.net General Forums => General Discussion => Topic started by: Akkori on May 20, 2007, 09:06:57 AM



Title: XP file system question
Post by: Akkori on May 20, 2007, 09:06:57 AM
I was hoping someone here might know the answer to this.

I take pictures as a hobby, and when I process the raw files, a "buddy" file with an XMP extension gets created for every file processed. The name of this file is identical to the pic, except for the extension. This little file only holds various text info about the picture, camera info, and also how the raw file was adjusted in the conversino process to a standard format pictures. It is not needed, technically, but instead of manually deleting these files or manually setting the attribute to "hidden" (I take a fair number of pictures), I would like to figure out how to tell Windows Explorer to automatically HIDE any file with the XMP extension.

This way, as the conversion program creates these buddy files during the process, they will never show in Explorer, but they and their data would still be there. Any suggestions?


Title: Re: XP file system question
Post by: Etro on May 20, 2007, 10:22:32 AM
Chris,

You could use a batch file to look for all the files named .xmp and hide them

make a new file called hideXMP.bat

type:

attrib /s +h *.xmp

save, close and drop into your images folder and run.

attrib is the attributes of the file
/s says parse everything in this folder and sub directories
+h adds the hidden attribute to the files
*.xmp is the files we want to do it do

Atlernatively, i zipped a bat file that you can use
http://www.markconnell.co.uk/resources/ms-dos/hideXMP.zip (http://www.markconnell.co.uk/resources/ms-dos/hideXMP.zip)

Doesn't automatically hide the files but a double click isn't too much trouble ;)


Title: Re: XP file system question
Post by: Akkori on May 20, 2007, 11:05:04 AM
I think that will work pretty well, actually. I was hoping for a way to tell Windows that all XMP files should be hidden, but this would be an okay work-around. Thanks!