Changer directory atttributes

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Changer directory atttributes

Post by *fabiochelly »

Is it possible to change the attributes of folders only (change their date for instance) without changing the date of the files it contains ?
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
Flint
Power Member
Power Member
Posts: 3487
Joined: 2003-10-27, 09:25 UTC
Location: Antalya, Turkey
Contact:

Post by *Flint »

fabiochelly
Yes, of course. Just don't select checkbox "Recurse subdirectories".
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 10.52 / Win10 x64
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Change dir. attributes?

Post by *Clo »

2fabiochelly
Hello, bonsoir,
A priori, yes. I tested a hidden folder to change the attributes as "archive", that works. I didn't try to change the date ('cause it's a <windows> sub-dir), but I guess it might work. Under Win 98 SE.

{Off-topic : I sent you an email a while ago about TC SFX-headers and the newest WinZIP v.9, but I got no reply :( … ? }

:mrgreen: Best regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

I did change the date - under XP-Pro.


sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Kite
Junior Member
Junior Member
Posts: 13
Joined: 2004-07-27, 12:45 UTC
Location: Ukraine

Post by *Kite »

What can you advice, if I want to change attributes of subdirectories, not only files in them.
User avatar
Lefteous
Power Member
Power Member
Posts: 9535
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2Kite
What can you advice, if I want to change attributes of subdirectories, not only files in them.
  1. Call the search window, navigate to tab "Advanced" and activate the checkbox "Attributes". Now activate "Directory". Leave all other attributes in indeterminate state. Switch to "Load/Save" and press the "Save" button. Enter a name like "Directories only". You need to execute this step only once.
  2. Open the desired directory where you want to set attributes of all subdirectories and execute the search.
  3. Go to the "Load/Save" tab, select "Directories only" and press the load button. Now start the search.
  4. After the search has finished press the button "Feed to listbox".
  5. Select all entries in the search result.
  6. Now activate "Files/Change attributes" in the Total Commander main menu.
  7. Don't activate "Recurse directories"!
  8. Change the desired attributes in the dialog and press the "OK" button.
If you want to change attributes of another kind of files, graphic files for example, you can define another filter as described in 1. and apply the rest of the process to any set of files.
Kite
Junior Member
Junior Member
Posts: 13
Joined: 2004-07-27, 12:45 UTC
Location: Ukraine

Post by *Kite »

Thank you very much!
Post Reply