I use AHK all over the place on my PC and have a few folders with special characters. I prefer to use batch files to open folders, but have done a LOT of research and no luck finding a way to escape a couple pesky characters
![Hit my head against the wall. :headwall:](./images/smilies/headwall.gif)
![Hehehe :HeHe:](./images/smilies/smiley_trollface.png)
I am now seeking a way to ideally run CMD completely silent, as .vbs does with a .bat file. As per usual, I have done research, but cannot find anything that will accomplish my goal:
------------------------------------------------------------------------------------------------------------------------------------------------
Code: Select all
sleep, 1000
Run, C:\WINDOWS\system32\Commandmeister.exe ;this is CMD.exe renamed
sleep, 10
send cd /d "C:\Documents and Settings\Eric\Application Data\Sunward Games\Endless Fables - The Minotaur’s Curse\CE\profile"{enter}
sleep, 10
send del 4576696C65.ach.bak{enter}
sleep, 10
send del Profile_01_bak.prf{enter}
sleep, 10
send del Save_GameContent_SE01_bak.cub{enter}
sleep, 10
send del Save_GameContent_CE01_bak.cub{enter}
sleep, 50
Run, C:\Documents and Settings\Eric\Application Data\Sunward Games\Endless Fables - The Minotaur’s Curse
sleep, 50
Run, G:\Games\+ DaS - Eric - AD\Sunward Games\Endless Fables - The Minotaur’s Curse
sleep, 50
Process, Close, Commandmeister.exe
The character is the "’" (used as apostrophe) but I don't know what it is. I even contacted Rob van der Woude (has website and specializes in batch file commands) and his suggestion did not work*
![Sad :(](./images/smilies/icon_e_sad.gif)
As always, I appreciate any input or thoughts you may have. I am hoping there is some text I can add to my script to accomplish my task
![Behold the awsomeness of my beard. You are jelly. :morebeard:](./images/smilies/morebeard.png)
PS> I can probably get CMD.exe to always run silent, but only wish to do so for specific situations like this
![Angel :angel:](./images/smilies/icon_angel.gif)
PPS> Now that I have expressed all this, I have a couple ideas for research, so I will continue to look
![Cool 8-)](./images/smilies/icon_cool.gif)
* Rob van der Woude opted to reach back out to me and did indeed resolve THIS specific issue, but there are a number of other folders with special characters that his option did not resolve