Monday, July 6, 2015

windows 10 - "the system cannot find the file specified" error when working with Notepad++ NppExec

The above error recently appeared when trying to implement the steps in this answer. To summarize, I'm implementing an automated method to compile pdf files quickly using LaTeX; I call a batch file from within the NppExec plugin environment which carries out the process of compiling the pdf file.


I have implemented this script a couple of times before on Windows 7 PCs without issue. This time I tried it on a new Windows 10 PC, and it couldn't find the pdflatex executable when running from NppExec, even though it was in my system environment variables, and was successfully found when running on the command line or running the batch file directly, but not when the batch file was run within the NppExec.


How can I resolve this so it works as expected?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...