![]() Instead you would reference input and output as %1 and %2 in the batch file. ![]() Note for people actually trying to pass arguments to a batch file from HTA:Īssuming you've taken input from the user already you can pass it to the batch file (just like the parameters are passed to the EXE above), but you wouldn't need the set /p lines. n "h:\tools\ffmpeg\bin\ffmpeg.exe -i "& InputTextbox.Value & " " & OutputTextbox.Value Set Shell = CreateObject("WScript.Shell") To answer the comment more completely, something like this: ![]() Also only guessing that it will be in VBScript. Note - I am just guessing at the variable names (Input and Output) you are using in the HTA, so you will have to rename those to whatever the variables are that contain the inputs you originally wanted to pass through to the batch file. n "h:\tools\ffmpeg\bin\ffmpeg.exe -i " & Input & " " & Output Something like this should work: Set Shell = CreateObject("WScript.Shell") Pretty sure you don't need to use a batch file at all for this.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |