[Tex/LaTex] Does Texmaker have “open containing folder” option

texmaker

I've looked up the options in Texmaker but it doesn't seem it has this feature "open containing folder". Is there an option regarding this matter?

Best Answer

Notes Following Texmaker's documentation the character ! represents the current directory so the idea is to use a user command explorer.exe ! (under windows or equivalent for other platforms). Indeed, if i try command pdflatex !/myfile.tex where myfile.tex is a file in current directory the command works fine and i get the file compiled but I can't get it to work with explorer.exe


Here is a solution (under windows)

Make a batch file myexplorer.bat with contents:

explorer.exe %~dp1
  1. in Texmker go to menu: User-->User commands-->Edit user commands
  2. paste this command <PathOfMyBatch>\myexplorer.bat %.tex

enter image description here enter image description here