kunalshah6363
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by kunalshah6363
-
-
You can try Process instead of Shell, it will work smoothly.
Hi,
I am trying to run the switch program from a vbscript and it is not converting the file correctly.
First I tested the command line script and it works perfectly when I run it from the dos command.
E:\Switch\switch.exe -hide -convert "E:\sound\sound.mp3" -format M4A -outfolder "E:\sound\new"
Next I put the command into a batch file and that worked there as well.
Finally, I wrote a basic vbscript (below) and ran it in an ASP page and the file comes out as a mp3 versus the m4p
<%
set wshell = CreateObject("WScript.Shell")
wshell.run "e:\vbscript.bat"
set wshell = nothing
%>
Any help or advise would be great. Thanks
Running Switch Command Line from VBScript
in Switch Sound Converter
Posted
Processstartinfo in vb.net