File Renamimg
File Renamimg
How can I remove the extension like .pdf (or .txt, .doc, etc) from appearing as part of my filename when right-click on file and select Rename.
Re: File Renamimg
Welcome to the forum.
Even if Menu - Tools - Customize List - Hide Extensions is activated, XY will show the extension when you rename a file (a security "feature").
But if Configuration | Sort and Rename | Rename | Exclude extension on rename is active, the extension isn't part of what is selected
by default when you rename it. But "hiding" would only possible with a script and the pro version of XY (and you'd need to activate
it via a toolbar button or a keyboard shortcut)...
Even if Menu - Tools - Customize List - Hide Extensions is activated, XY will show the extension when you rename a file (a security "feature").
But if Configuration | Sort and Rename | Rename | Exclude extension on rename is active, the extension isn't part of what is selected
by default when you rename it. But "hiding" would only possible with a script and the pro version of XY (and you'd need to activate
it via a toolbar button or a keyboard shortcut)...
Code: Select all
$newName = input("Rename item...", , gpc(<curitem>, "base"));
if ($newName) { renameitem($newName); }
One of my scripts helped you out? Please donate via Paypal
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: File Renamimg
Tick this:
Configuration | Sort and Rename | Rename | Exclude extension on rename
Configuration | Sort and Rename | Rename | Exclude extension on rename
FAQ | XY News RSS | XY Twitter
Re: File Renamimg
I use a pro version. Please kindly show me how to run the script. Thanks
Re: File Renamimg
Thanks admin. But I have already ticked that. Unfortunately that did not solve the problem. The extension still appears when i press F2 or click Rename to rename a file
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: File Renamimg
Yes, but it is not pre-selected. What exactly is your problem?
FAQ | XY News RSS | XY Twitter
Re: File Renamimg
Script is in my first post
One of my scripts helped you out? Please donate via Paypal
Re: File Renamimg
Thanks highend. Just don't know how to run to script. Kindly show me. Thanks
Re: File Renamimg
Thanks admin. Here is exactly my problem. I don't want to see that .pdf when a press F2. period. Can you help please?
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: File Renamimg
That's only possible with a script. See highend's reply.
See the help file for how to run a script, please.
Come back in case there are still questions. Always happy to help.
See the help file for how to run a script, please.
Come back in case there are still questions. Always happy to help.
FAQ | XY News RSS | XY Twitter