Welcome!

By registering with us, you'll be able to discuss, share and exchange private messages with other members of our community.

SignUp Now!

Rename file that begins with Emoji

Aug
1,837
64
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
 
Nevermind. It can be done this way;

1596064237239.png

Joe
 
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
 
%@char[0xd83d]%@char[0xdc7d] is needlessly prolix. %@char[0xd83d 0xdc7d] is better.
 
Assigned emoji to an environment variable.

1596067712917.png


1596067762747.png


Joe
 

Similar threads

Back
Top