Search found 6 matches

by vincev100
Mon Apr 10, 2017 11:24 pm
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Re: Executing a batch file


Can you please cd to C:\Windows\SysWOW64 in a dos window, run your script from there and see if it works. If not it probably have something to do with relative paths.

FFAStrans is executed with the users logged in permissions.

-steinar


Ok, so what I did to get it to work was move the file to ...
by vincev100
Fri Apr 07, 2017 7:30 pm
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Re: Executing a batch file


First, just to make sure, clean your command a bit:

%comspec% /c "C:\Users\vincev100\Desktop\FFASTRANS\LXF_Watchfolder\converted\nolow.bat"

I just tried it once more to verify and it's working as expected. Notepad jumps up and FFAStrans does not contiune until I close it. My script looks like ...
by vincev100
Fri Apr 07, 2017 5:36 pm
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Re: Executing a batch file


Hello, vincev100. What OS are you using? I had exactly the same problem with Windows 2003 Server. All XP-family is too old, outdated and hard to support due to dependencies from compilers, libraries, frameworks and API.


We are using Windows Server 2012 R2. It's installed to an on premise VM. I ...
by vincev100
Fri Apr 07, 2017 5:29 pm
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Re: Executing a batch file


First, just to make sure, clean your command a bit:

%comspec% /c "C:\Users\vincev100\Desktop\FFASTRANS\LXF_Watchfolder\converted\nolow.bat"

I just tried it once more to verify and it's working as expected. Notepad jumps up and FFAStrans does not contiune until I close it. My script looks like ...
by vincev100
Fri Apr 07, 2017 1:23 am
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Re: Executing a batch file

HI,

I actually tried doing this again after the recent update and still cannot get it to work. Again, I can manually run the .bat file without issue. FFMPEG is installed to the same directory that the .bat file runs. I even tried your advice putting "notepad" at the front of the script. This ...
by vincev100
Tue Jan 10, 2017 9:35 pm
Forum: Usage, tips and tricks
Topic: Executing a batch file
Replies: 10
Views: 25486

Executing a batch file

Hi,

I'm sure there's a simple answer for this. I have a batch file that upon execution will remove audio from an mp4 video file using ffmpeg.
The .bat is this... for %%a in ("*.mp4") do ffmpeg -i "%%a" -acodec copy -vn "%%~na.m4a"
When i run this manually, it works without issue.

My current ...