public static void StartNotepad(string filePath)
{
try
{
WshShell x = new WshShell();
x.Exec(string.Format("notepad.exe {0}", filePath));
}
catch (Exception ex)
{
}
}
{
try
{
WshShell x = new WshShell();
x.Exec(string.Format("notepad.exe {0}", filePath));
}
catch (Exception ex)
{
}
}
No comments:
Post a Comment