我正在vb.net中编写代码来创建Video的缩略图。但我想设置输出路径或缩略图的存储路径
enter code here
TextBox2.Text = InputBox("Enter your Desired Name")
Dim fileName As String = TextBox1.Text
Dim result As String = Path.GetFileName(fileName)
proc.StartInfo.Arguments = " -i " + result + " -r 1 " + TextBox2.Text + "%4d.jpg "
proc.Start()
当我运行此输出存储在别处。所以我想手动存储输出
答案 0 :(得分:1)
只需设置文件>
的完整路径即可proc.StartInfo.Arguments = " -i " + result + " -r 1 D:\\folder\\" + TextBox2.Text + "%4d.jpg "