MattMcManis / Axiom

An FFmpeg GUI for Windows
https://axiomui.github.io
GNU General Public License v3.0
1.51k stars 117 forks source link

Run script in powershell #29

Open panther7 opened 4 years ago

panther7 commented 4 years ago

Why? For example run UNC paths, like:

'\\NAS\Movies\'
CMD does not support UNC paths as current directories.
panther7 commented 4 years ago

I found solution, use pushd/popd, like:

cd /d "\\NAS\Movies\" 
...
ffmpeg.exe
-i "\\NAS\Movies\%~f" 

to

pushd "\\NAS\Movies\" 
...
ffmpeg.exe
-i "%~f" 
...
popd
MattMcManis commented 4 years ago

Hi, I had put updating this project on hold for a while.

I will see about adding an toggle option in the Settings Tab for switching between CMD and PowerShell for this feature.