818 - Running a batch file to open FC with paths with % in them
Posted: 21.04.2020, 01:42
The 3 examples below are put into the command line.
#1 This example works.
#2 This example works.
#3 This doesn't because of the % symbol
How can I get this to work from the command line.
---
I've tried to escape the % with adding another one before it
or by using the ^ like so
But neither work.
I think this is a bug because most CLI commands that open files have no issue with % in the path.
#1 This example works.
Code: Select all
explorer "C:\path\with a % symbol in it\"
Code: Select all
vlc "C:\path\with a % symbol in it\"
Code: Select all
"W:\Apps (Portable)\FreeCommanderXE\FreeCommander.exe" "C:\path\with a % symbol in it\"
---
I've tried to escape the % with adding another one before it
Code: Select all
"W:\Apps (Portable)\FreeCommanderXE\FreeCommander.exe" "C:\path\with a %% symbol in it\"
Code: Select all
"W:\Apps (Portable)\FreeCommanderXE\FreeCommander.exe" "C:\path\with a ^% symbol in it\"
I think this is a bug because most CLI commands that open files have no issue with % in the path.