I'm trying to execute a program relevant to the filepath, which the currently open file uses. However, I've noticed whenever start an executable it looks to the "current working directory" C:\Program Files\Notepad++. Here's the code I've tried so far, I've not succeeded in changing the CWD. Please help!
Hello,
I'm trying to execute a program relevant to the filepath, which the currently open file uses. However, I've noticed whenever start an executable it looks to the "current working directory" C:\Program Files\Notepad++. Here's the code I've tried so far, I've not succeeded in changing the CWD. Please help!
inputbox "Sort File?"
env_set $(CWD) = "C:\"
echo $(CWD)
C:\filesorter.exe $(FILE_NAME) $(INPUT)
env_unset $(CWD)
84th line of "NppExec.txt"
Thanks, I used CD to move myself around the filesystem, works beautifully now.