Tech Community Live: Windows edition
Jun 05 2024, 07:30 AM - 11:30 AM (PDT)
Microsoft Tech Community

Bug: Filesystem downloader replaces part of file or foldername string surrounded with percent(%).

Copper Contributor

Filesystem downloader replaces part of file or foldername string surrounded with percent(%) into environment variables. Is this behavior intended or bug??

 

Original post

https://github.com/microsoft/vscode-remote-release/issues/6183

1 Reply
How to save the files with filename that has environment variable inside?

example filename: %Userprofile%.png

I tried enclosing with double quotes, or escape with backslash (\%), or double it(%%) and none of theme worked, so I had to rename it manually. Anyone know the way?