How to suppress *.url and *.lnk file name extensions in DetailsView?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
highend
Posts: 14571
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: How to suppress *.url and *.lnk file name extensions in DetailsView?

Post by highend »

Code: Select all

renameitem(regexreplace(gpc(<curitem>, "base"), "^(.+?)(\.[^.]+?)$", "$1") . ".lnk");
One of my scripts helped you out? Please donate via Paypal

Post Reply