818 - Running a batch file to open FC with paths with % in them

Bugs and issues - current donor version.
Post Reply
Message
Author
stephen147
Posts: 370
Joined: 18.10.2015, 16:44

818 - Running a batch file to open FC with paths with % in them

#1 Post by stephen147 » 21.04.2020, 01:42

The 3 examples below are put into the command line.

#1 This example works.

Code: Select all

explorer "C:\path\with a % symbol in it\"
#2 This example works.

Code: Select all

vlc "C:\path\with a % symbol in it\"
#3 This doesn't because of the % symbol

Code: Select all

"W:\Apps (Portable)\FreeCommanderXE\FreeCommander.exe" "C:\path\with a % symbol in it\"
How can I get this to work from the command line.

---

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\"
or by using the ^ like so

Code: Select all

"W:\Apps (Portable)\FreeCommanderXE\FreeCommander.exe" "C:\path\with a ^% symbol in it\"
But neither work.

I think this is a bug because most CLI commands that open files have no issue with % in the path.
Sceenshots made easy with ShareX.

Marek
Author
Author
Posts: 3973
Joined: 10.04.2006, 09:48
Location: Germany
Contact:

Re: 818 - Running a batch file to open FC with paths with % in them

#2 Post by Marek » 21.04.2020, 21:54

This work for me:
FreeCommander.exe "C:\path\with a %% symbol in it"

Found here.

stephen147
Posts: 370
Joined: 18.10.2015, 16:44

Re: 818 - Running a batch file to open FC with paths with % in them

#3 Post by stephen147 » 21.04.2020, 23:54

Marek wrote: 21.04.2020, 21:54 This work for me:
FreeCommander.exe "C:\path\with a %% symbol in it"

Found here.
Yeah, that's strange because doubling up the % works now. Was there something changed in 818?

I think I was trying this is 817 even though the title says 818 here. That was a mistake.
Sceenshots made easy with ShareX.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests