c#中打开视频,word

打开所有的文件的 代码,包括word/ppt/txt/xls/mp3/视频文件

添加using

using System.Diagnostics;

string fileName = @"D:/新建 文本文档.txt";//路径自己可以换成ppt、mp3、wmv、jpg、rmvb等等格式的文件,都可以
  Process.Start(fileName);
原文地址:https://www.cnblogs.com/shouhouxiaomuwu/p/3389706.html