How to change any/all attributes of a file or directory

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
RRbitwise
Posts: 56
Joined: 06 Feb 2014 17:52

How to change any/all attributes of a file or directory

Post by RRbitwise »

I am trying to find a method in XYplorer which allows me to change any attribute of a file or directory. In particular, I want to be able to change a time stamp (create date, modified date) of a directory or set of directories, much like a Linux "touch"tool. There is a nice Windows Explorer add-on named Attribute Changer (www.petges.lu) which does this quite nicely. Is there an equivalent capability in XYplorer?

Thanks !

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How to change any/all attributes of a file or directory

Post by bdeshi »

Select file(s)/folder(s), then Open the Properties tab of the Info Pane.
What's that?
click anywhere (or the blue arrow) on the statusbar, then choose Properties tab.

OR if you've changed the default shortcut, press CTRL+1.

Attibute-changing in the Properties tab should be self-explanatory, (you have to click on the dates to modify them) press the green tickmark that appears after changing attribs to apply the change.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

RRbitwise
Posts: 56
Joined: 06 Feb 2014 17:52

Re: How to change any/all attributes of a file or directory

Post by RRbitwise »

Thanks for the help. The method you describe does work (not very intuitive, however).
Is there some way to do this in a script?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: How to change any/all attributes of a file or directory

Post by bdeshi »

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_attrstamp";

Code: Select all

::help "idh_scripting_comref.htm#idh_sc_timestamp"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Lusayalumino
Posts: 109
Joined: 13 Aug 2018 07:16
Location: USA

Re: How to change any/all attributes of a file or directory

Post by Lusayalumino »

I'm trying to change the alt attribute of JPGs and PNGs but that attribute doesn't appear in the properties pane. Is there another way to add that alt attribute?
XYPlorer, Great Form -- Awesome Function

highend
Posts: 14243
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to change any/all attributes of a file or directory

Post by highend »

What alt attribute?
One of my scripts helped you out? Please donate via Paypal

Lusayalumino
Posts: 109
Joined: 13 Aug 2018 07:16
Location: USA

Re: How to change any/all attributes of a file or directory

Post by Lusayalumino »

Email signature images can cause outgoing emails to be blocked by recipient servers, if there's no alt attribute attached to the image.

When I open the image in ACDSee Photo Studio Ultimate, I can see it has a single character attribute of "A".

I'm trying to change that. Here's an image: Rt-Click > Properties > Details tab:
Attachments
Screenshot 2024-08-08 112159.png
Screenshot 2024-08-08 112159.png (27.47 KiB) Viewed 1875 times
XYPlorer, Great Form -- Awesome Function

eil
Posts: 1801
Joined: 13 Jan 2011 19:44

Re: How to change any/all attributes of a file or directory

Post by eil »

Lusayalumino wrote: 08 Aug 2024 17:18 I can see it has a single character attribute of "A".
As far as i remember, A stands for "Archived", can be found in same XY's Properties tab at the bottom, and is simply an attribute of any file(has smth to do with system's management, though i may be not fully accurate here).
Attachments
2024-08-08_191419.png
2024-08-08_191419.png (4.65 KiB) Viewed 1865 times
Win 7 SP1 x64 100% 1366x768|1900x1080

highend
Posts: 14243
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to change any/all attributes of a file or directory

Post by highend »

That screenshot shows the ARCHIVE attribute...
One of my scripts helped you out? Please donate via Paypal

Lusayalumino
Posts: 109
Joined: 13 Aug 2018 07:16
Location: USA

Re: How to change any/all attributes of a file or directory

Post by Lusayalumino »

OK; thanks for that. For anyone who might stumble upon this thread, figured out how to do it with Outlook's email signatures:

Outlook > File > Options > Mail > Signatures > Rt-Click Image > Picture > Alt Text tab > e.g. "MY COMPANY LOGO"
XYPlorer, Great Form -- Awesome Function

Post Reply