Vista Tag

  • Thread starter Thread starter Fred
  • Start date Start date
F

Fred

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?
 
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/help/help_en-us.htm#RateAPost

Mark L. Ferguson

..
 
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.
 
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?
 
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/help/help_en-us.htm#RateAPost

Mark L. Ferguson

..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top