小编abd*_*sup的帖子

用c#中的notepad ++打开文件进行读取

我试着用c#语言用notepad ++打开文件进行阅读.我用这个命令:

Process myProcess = new Process();
Process.Start("notepad++.exe", @"c:\file name for test.txt");
Run Code Online (Sandbox Code Playgroud)

notepad ++无法使用全名打开此文件,

notepad ++将名称剪切为4部分,并返回此消息

c:\ file不存在.创建它?

c:\name不存在.创建它?

c:\ for不存在.创建它?

c:\ test.txt不存在.创建它?

版本的记事本++:9.4.2

在较新的版本中我没有这个问题,但我需要在所有版本中使用notepad ++.

c#

2
推荐指数
1
解决办法
4574
查看次数

标签 统计

c# ×1