Select all files with particular attribute set ?


Go Back   Computer Help Articles > Windows XP General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 02:34 AM
MoiMeme
 
Posts: n/a
Default Select all files with particular attribute set ?

Hi,

happy new year all

Simple question perhaps :
- how can I select all files with a given attribute set ( for example all
system files) within a folder and subfolders ?

TIA !!


Reply With Quote
  #2  
Old 01-05-2006, 02:34 AM
billious
 
Posts: n/a
Default Re: Select all files with particular attribute set ?


"MoiMeme" <vermeulenp@hotmail.com> wrote in message
news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> happy new year all
>
> Simple question perhaps :
> - how can I select all files with a given attribute set ( for example all
> system files) within a folder and subfolders ?
>
> TIA !!
>


Please describe exactly what you want to do.

Are you looking for a list of files in a given subtree which have the
attribute(s) set or do you want some variety of graphical methodology?

If you simply want a list, what are you going to do with the list? Simple
text list for a report, EXCEL (.CSV) list for some purpose, or are you going
to perhaps use the list to make an archive?

More info - better help.

HTH

....Bill


Reply With Quote
  #3  
Old 01-05-2006, 02:34 AM
MoiMeme
 
Posts: n/a
Default Re: Select all files with particular attribute set ?

I want to be able to select all files with attributes read-only & system
set, build a list of them and backup to an archive.
The Windows search module doesn't allow tro select according to attribute(s)
( or at least I haven't been able to find how)

"billious" <billious_1954@hotmail.com> a écrit dans le message de news:
43bac38f$0$10323$a82e2bb9@reader.athenanews.com...
>
> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
> news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
>> Hi,
>>
>> happy new year all
>>
>> Simple question perhaps :
>> - how can I select all files with a given attribute set ( for example all
>> system files) within a folder and subfolders ?
>>
>> TIA !!
>>

>
> Please describe exactly what you want to do.
>
> Are you looking for a list of files in a given subtree which have the
> attribute(s) set or do you want some variety of graphical methodology?
>
> If you simply want a list, what are you going to do with the list? Simple
> text list for a report, EXCEL (.CSV) list for some purpose, or are you
> going to perhaps use the list to make an archive?
>
> More info - better help.
>
> HTH
>
> ...Bill
>



Reply With Quote
  #4  
Old 01-05-2006, 02:34 AM
Don MI
 
Posts: n/a
Default Re: Select all files with particular attribute set ?


"MoiMeme" <vermeulenp@hotmail.com> wrote in message
news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
> Hi,
>
> happy new year all
>
> Simple question perhaps :
> - how can I select all files with a given attribute set ( for example all
> system files) within a folder and subfolders ?
>
> TIA !!
>
>


Perhaps:
Command Prompt
Dir /?

will be what you need.

You can export the result to a text file as: DIR {switch selections} >
{path}\{file name}.txt

Don


Reply With Quote
  #5  
Old 01-05-2006, 02:34 AM
David Candy
 
Posts: n/a
Default Re: Select all files with particular attribute set ?

Sort them.

--
--------------------------------------------------------------------------------------------------
Goodbye Web Diary
http://margokingston.typepad.com/har....html#comments
=================================================
"MoiMeme" <vermeulenp@hotmail.com> wrote in message news:uTYFciJEGHA.216@TK2MSFTNGP15.phx.gbl...
>I want to be able to select all files with attributes read-only & system
> set, build a list of them and backup to an archive.
> The Windows search module doesn't allow tro select according to attribute(s)
> ( or at least I haven't been able to find how)
>
> "billious" <billious_1954@hotmail.com> a écrit dans le message de news:
> 43bac38f$0$10323$a82e2bb9@reader.athenanews.com...
>>
>> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
>> news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> happy new year all
>>>
>>> Simple question perhaps :
>>> - how can I select all files with a given attribute set ( for example all
>>> system files) within a folder and subfolders ?
>>>
>>> TIA !!
>>>

>>
>> Please describe exactly what you want to do.
>>
>> Are you looking for a list of files in a given subtree which have the
>> attribute(s) set or do you want some variety of graphical methodology?
>>
>> If you simply want a list, what are you going to do with the list? Simple
>> text list for a report, EXCEL (.CSV) list for some purpose, or are you
>> going to perhaps use the list to make an archive?
>>
>> More info - better help.
>>
>> HTH
>>
>> ...Bill
>>

>
>

Reply With Quote
  #6  
Old 01-05-2006, 02:34 AM
MoiMeme
 
Posts: n/a
Default Re: Select all files with particular attribute set ?

Across folders and subfolders ? How ?
"David Candy" <.> a écrit dans le message de news:
%23HFhsgKEGHA.3004@TK2MSFTNGP15.phx.gbl...
Sort them.

--
--------------------------------------------------------------------------------------------------
Goodbye Web Diary
http://margokingston.typepad.com/har....html#comments
=================================================
"MoiMeme" <vermeulenp@hotmail.com> wrote in message
news:uTYFciJEGHA.216@TK2MSFTNGP15.phx.gbl...
>I want to be able to select all files with attributes read-only & system
> set, build a list of them and backup to an archive.
> The Windows search module doesn't allow tro select according to
> attribute(s)
> ( or at least I haven't been able to find how)
>
> "billious" <billious_1954@hotmail.com> a écrit dans le message de news:
> 43bac38f$0$10323$a82e2bb9@reader.athenanews.com...
>>
>> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
>> news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> happy new year all
>>>
>>> Simple question perhaps :
>>> - how can I select all files with a given attribute set ( for example
>>> all
>>> system files) within a folder and subfolders ?
>>>
>>> TIA !!
>>>

>>
>> Please describe exactly what you want to do.
>>
>> Are you looking for a list of files in a given subtree which have the
>> attribute(s) set or do you want some variety of graphical methodology?
>>
>> If you simply want a list, what are you going to do with the list? Simple
>> text list for a report, EXCEL (.CSV) list for some purpose, or are you
>> going to perhaps use the list to make an archive?
>>
>> More info - better help.
>>
>> HTH
>>
>> ...Bill
>>

>
>



Reply With Quote
  #7  
Old 01-05-2006, 02:34 AM
David Candy
 
Posts: n/a
Default Re: Select all files with particular attribute set ?

By searching then clicking attributes column - all the A will be next to each other, all the AR, so you'll have only limited click - shift click to do.

--
--------------------------------------------------------------------------------------------------
Goodbye Web Diary
http://margokingston.typepad.com/har....html#comments
=================================================
"MoiMeme" <vermeulenp@hotmail.com> wrote in message news:e19Bf2KEGHA.3064@TK2MSFTNGP14.phx.gbl...
> Across folders and subfolders ? How ?
> "David Candy" <.> a écrit dans le message de news:
> %23HFhsgKEGHA.3004@TK2MSFTNGP15.phx.gbl...
> Sort them.
>
> --
> --------------------------------------------------------------------------------------------------
> Goodbye Web Diary
> http://margokingston.typepad.com/har....html#comments
> =================================================
> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
> news:uTYFciJEGHA.216@TK2MSFTNGP15.phx.gbl...
>>I want to be able to select all files with attributes read-only & system
>> set, build a list of them and backup to an archive.
>> The Windows search module doesn't allow tro select according to
>> attribute(s)
>> ( or at least I haven't been able to find how)
>>
>> "billious" <billious_1954@hotmail.com> a écrit dans le message de news:
>> 43bac38f$0$10323$a82e2bb9@reader.athenanews.com...
>>>
>>> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
>>> news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
>>>> Hi,
>>>>
>>>> happy new year all
>>>>
>>>> Simple question perhaps :
>>>> - how can I select all files with a given attribute set ( for example
>>>> all
>>>> system files) within a folder and subfolders ?
>>>>
>>>> TIA !!
>>>>
>>>
>>> Please describe exactly what you want to do.
>>>
>>> Are you looking for a list of files in a given subtree which have the
>>> attribute(s) set or do you want some variety of graphical methodology?
>>>
>>> If you simply want a list, what are you going to do with the list? Simple
>>> text list for a report, EXCEL (.CSV) list for some purpose, or are you
>>> going to perhaps use the list to make an archive?
>>>
>>> More info - better help.
>>>
>>> HTH
>>>
>>> ...Bill
>>>

>>
>>

>
>

Reply With Quote
  #8  
Old 01-05-2006, 02:35 AM
billious
 
Posts: n/a
Default Re: Select all files with particular attribute set ?


"MoiMeme" <vermeulenp@hotmail.com> wrote in message
news:uTYFciJEGHA.216@TK2MSFTNGP15.phx.gbl...
> "billious" <billious_1954@hotmail.com> a écrit dans le message de news:
> 43bac38f$0$10323$a82e2bb9@reader.athenanews.com...
>>
>> "MoiMeme" <vermeulenp@hotmail.com> wrote in message
>> news:OJe7jBJEGHA.2648@TK2MSFTNGP11.phx.gbl...
>>> Hi,
>>>
>>> happy new year all
>>>
>>> Simple question perhaps :
>>> - how can I select all files with a given attribute set ( for example
>>> all system files) within a folder and subfolders ?
>>>
>>> TIA !!
>>>

>>
>> Please describe exactly what you want to do.
>>
>> Are you looking for a list of files in a given subtree which have the
>> attribute(s) set or do you want some variety of graphical methodology?
>>
>> If you simply want a list, what are you going to do with the list? Simple
>> text list for a report, EXCEL (.CSV) list for some purpose, or are you
>> going to perhaps use the list to make an archive?
>>
>> More info - better help.
>>
>> HTH
>>
>> ...Bill
>>



>I want to be able to select all files with attributes read-only & system
>set, build a list of them and backup to an archive.
> The Windows search module doesn't allow tro select according to
> attribute(s) ( or at least I haven't been able to find how)
>


Here's a batch job that may help.

It's still not crystal clear whether you want (all files with attributes
(read-only & system set)) or (all files with attribute read-only) & (all
files with attribute system set)) but minor changes can easily be
accommodated.

[1]@echo off
[2]if exist arclist.txt del arclist.txt
[3]for /f "delims=" %%i in ('dir /b/a-d/s') do echo %%~ai %%~fi
[4]for /f "delims=" %%i in ('dir /b/a-d/s "d:\pathname\filemask.ext" ') do
echo %%~ai|findstr /r "r..s" >nul&if not errorlevel 1 echo %%~fi
>>arclist.txt


Each line begins [number]. Lines will be wrapped in transmission and need to
be rejoined. The [number] at the beginning of each line needs to be removed.


notes:
line [3] is redundant; it's there to show what is produced by the ~a
modifier facility to the FOR command. Note that it produces the string
"-rahs----" with any not-set attribute replaced by "-"

on line [4], the FINDSTR command is looking for "r..s" (r and s separated by
any 2 characters) if you want EITHER r or s set, then use "r s" in place of
"r..s"

arclist.txt will be built with the full filenames of the files to be
archived.

HTH

....Bill


Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KB835732 not installing Don Wiss Windows Update 8 01-05-2006 05:18 PM
Can't play MIDI files or select default MIDI playback device maj3091 Windows XP Music 4 01-05-2006 07:39 AM
Re: cd burning software MIMITEX1 Windows XP Photos 1 01-05-2006 07:11 AM
Keeping backup of my pictures in my order Gladys222 Windows XP Photos 10 01-05-2006 07:08 AM
Full Hard Drive giff42 Windows XP Perform Maintain 5 01-05-2006 05:52 AM


All times are GMT. The time now is 12:28 AM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

Select all files with particular attribute set ?