private void otherMenuItem_Click(object sender, RoutedEventArgs e) { var fileInfo = Part.GetFileInfo(); ShellCommand.ShellExecute(IntPtr.Zero, null, "rundll32.exe", string.Concat("shell32.dll,OpenAs_RunDLL ", fileInfo.FullName), null, 0); }