Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Vista Tag

Reply
 
 
Fred
Guest
Posts: n/a

 
      02-25-2008
Hi,

I'm trying to setup a 'read' tag to all files under a folder, to either flag
on or off once viewed.

Can this be done using tags or some other means?

I've searched the forums here and cant find the answer, so wondering if
anyone can help?

I've tried to set 'tags' on but cant edit or flag files as read in suggested
the 'details pane'.

Thoughts?
 
Reply With Quote
 
 
 
 
Mark L. Ferguson
Guest
Posts: n/a

 
      02-25-2008
What you want is the 'attrib' utility.
There are a number of file 'attributes' of a file. The 'archive' bit was
used to determine if the file had been 'changed' (it's CRC was different).
Right click a file icon, then Properties, to see the archive bit checkbox.
Originally, the use of the archive bit was to backup any file that has
changed.
'Somefile.txt' can have it's archive bit set or unset by attrib.

attrib +A <path>somefile.txt
attrib -A <path>somefile.txt

Detecting the open of the file is an 'event'. I would use the Performance
utilities to cause the bit set, but there are a number of ways to monitor
file use.
--
Was this helpful? Then click the "Yes" Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost

Mark L. Ferguson

..
"Fred" <> wrote in message
news:3DBFDEF4-FEC8-42C1-9BE5-...
> Hi,
>
> I'm trying to setup a 'read' tag to all files under a folder, to either
> flag
> on or off once viewed.
>
> Can this be done using tags or some other means?
>
> I've searched the forums here and cant find the answer, so wondering if
> anyone can help?
>
> I've tried to set 'tags' on but cant edit or flag files as read in
> suggested
> the 'details pane'.
>
> Thoughts?


 
Reply With Quote
 
DP
Guest
Posts: n/a

 
      02-25-2008
The other day, I noticed that one of the column headers you can add to a
folder is something called Date Accessed.
I assume it means it'll tell you the last time the file was opened, whether
or not it was changed.
Haven't tried it myself, but that may be what you need.



"Mark L. Ferguson" <> wrote in
message news:931CE3D6-891E-4FA8-B0B0-...
> What you want is the 'attrib' utility.
> There are a number of file 'attributes' of a file. The 'archive' bit was
> used to determine if the file had been 'changed' (it's CRC was different).
> Right click a file icon, then Properties, to see the archive bit checkbox.
> Originally, the use of the archive bit was to backup any file that has
> changed.
> 'Somefile.txt' can have it's archive bit set or unset by attrib.
>
> attrib +A <path>somefile.txt
> attrib -A <path>somefile.txt
>
> Detecting the open of the file is an 'event'. I would use the Performance
> utilities to cause the bit set, but there are a number of ways to monitor
> file use.
> --
> Was this helpful? Then click the "Yes" Ratings button. Voting helps the
> web
> interface.
> http://www.microsoft.com/wn3/locales....htm#RateAPost
>
> Mark L. Ferguson
>
> .
> "Fred" <> wrote in message
> news:3DBFDEF4-FEC8-42C1-9BE5-...
>> Hi,
>>
>> I'm trying to setup a 'read' tag to all files under a folder, to either
>> flag
>> on or off once viewed.
>>
>> Can this be done using tags or some other means?
>>
>> I've searched the forums here and cant find the answer, so wondering if
>> anyone can help?
>>
>> I've tried to set 'tags' on but cant edit or flag files as read in
>> suggested
>> the 'details pane'.
>>
>> Thoughts?

>


 
Reply With Quote
 
Fred
Guest
Posts: n/a

 
      02-25-2008
Thanks Mark,

This is true. Though if you have many files, 5 or so clicks each adds up
quickly.

I'd like to be able to toggle a 'read'/'not read' scenario.

Do we know if this is possible?

"Mark L. Ferguson" wrote:

> What you want is the 'attrib' utility.
> There are a number of file 'attributes' of a file. The 'archive' bit was
> used to determine if the file had been 'changed' (it's CRC was different).
> Right click a file icon, then Properties, to see the archive bit checkbox.
> Originally, the use of the archive bit was to backup any file that has
> changed.
> 'Somefile.txt' can have it's archive bit set or unset by attrib.
>
> attrib +A <path>somefile.txt
> attrib -A <path>somefile.txt
>
> Detecting the open of the file is an 'event'. I would use the Performance
> utilities to cause the bit set, but there are a number of ways to monitor
> file use.
> --
> Was this helpful? Then click the "Yes" Ratings button. Voting helps the web
> interface.
> http://www.microsoft.com/wn3/locales....htm#RateAPost
>
> Mark L. Ferguson
>
> .
> "Fred" <> wrote in message
> news:3DBFDEF4-FEC8-42C1-9BE5-...
> > Hi,
> >
> > I'm trying to setup a 'read' tag to all files under a folder, to either
> > flag
> > on or off once viewed.
> >
> > Can this be done using tags or some other means?
> >
> > I've searched the forums here and cant find the answer, so wondering if
> > anyone can help?
> >
> > I've tried to set 'tags' on but cant edit or flag files as read in
> > suggested
> > the 'details pane'.
> >
> > Thoughts?

>

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      02-25-2008
Create these three files on the desktop, with notepad. Run note.vbs, click
the created shortcut after remembering the shortcut icon created, run the
shortcut, and notice the changed icon as the text file has opened. To start
over, run note.vbs again.
---note.vbs--
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut
Script.lnk")
oShellLink.TargetPath = "my.vbs"
oShellLink.WindowStyle = 1
oShellLink.Hotkey = "CTRL+SHIFT+F"
oShellLink.IconLocation = "notepad.exe, 1"
oShellLink.Description = "Shortcut Script"
oShellLink.WorkingDirectory = strDesktop
oShellLink.Save
--end file--
---my.vbs--
set WshShell = WScript.CreateObject("WScript.Shell")
strDesktop = WshShell.SpecialFolders("Desktop")
set oShellLink = WshShell.CreateShortcut(strDesktop & "\Shortcut
Script.lnk")
oShellLink.TargetPath = "my.txt"
oShellLink.WindowStyle = 1
oShellLink.Hotkey = "CTRL+SHIFT+F"
oShellLink.IconLocation = "notepad.exe, 0"
oShellLink.Description = "Shortcut Script"
oShellLink.WorkingDirectory = strDesktop
oShellLink.Save
WshShell.run "notepad my.txt"
--end file--
---my.txt--
Hi mom.
--end file--
Running note.vbs 'resets' the icon, running the icon to open the file,
changes the shortcut icon. Edit the target for my.vbs. Edit my vbs to run
any file. Add to Note.vbs to create more.
--
Was this helpful? Then click the "Yes" Ratings button. Voting helps the web
interface.
http://www.microsoft.com/wn3/locales....htm#RateAPost

Mark L. Ferguson

..
"Fred" <> wrote in message
news080F2FD-1DA5-454F-B325-...
> Thanks Mark,
>
> This is true. Though if you have many files, 5 or so clicks each adds up
> quickly.
>
> I'd like to be able to toggle a 'read'/'not read' scenario.
>
> Do we know if this is possible?
>
> "Mark L. Ferguson" wrote:
>
>> What you want is the 'attrib' utility.
>> There are a number of file 'attributes' of a file. The 'archive' bit was
>> used to determine if the file had been 'changed' (it's CRC was
>> different).
>> Right click a file icon, then Properties, to see the archive bit
>> checkbox.
>> Originally, the use of the archive bit was to backup any file that has
>> changed.
>> 'Somefile.txt' can have it's archive bit set or unset by attrib.
>>
>> attrib +A <path>somefile.txt
>> attrib -A <path>somefile.txt
>>
>> Detecting the open of the file is an 'event'. I would use the Performance
>> utilities to cause the bit set, but there are a number of ways to monitor
>> file use.
>> --
>> Was this helpful? Then click the "Yes" Ratings button. Voting helps the
>> web
>> interface.
>> http://www.microsoft.com/wn3/locales....htm#RateAPost
>>
>> Mark L. Ferguson
>>
>> .
>> "Fred" <> wrote in message
>> news:3DBFDEF4-FEC8-42C1-9BE5-...
>> > Hi,
>> >
>> > I'm trying to setup a 'read' tag to all files under a folder, to either
>> > flag
>> > on or off once viewed.
>> >
>> > Can this be done using tags or some other means?
>> >
>> > I've searched the forums here and cant find the answer, so wondering if
>> > anyone can help?
>> >
>> > I've tried to set 'tags' on but cant edit or flag files as read in
>> > suggested
>> > the 'details pane'.
>> >
>> > Thoughts?

>>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59