Rename file that begins with Emoji

Code:
     _x64: 1
   _admin: 1
_elevated: 1

TCC  26.02.42 x64   Windows 10 [Version 10.0.18363.900]
When I attempt to rename a file that has an emoji in the file name, TCC hangs, regardless if TCC is attached to TCMD or not.

1596063872068.png


I have no problem renaming it via Explorer.

Joe
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,223
78
Albuquerque, NM
prospero.unm.edu
You can create them in TCC. The easy way is to just copy the emoji from somewhere else, like a web page, and paste it into the command line — doesn't look pretty, but it works. Or you can use @CHAR to generate surrogate characters:

emoji-filename.png