processstartinfo
ProcessStartInfo run exe in PATH envirionment variable
I\'m trying to run an exe using ProcessStartInfo. The problem is I only want to specify the exe name, and add the executable path to the PATH environment variable in Windows. When I try to run 开发者_[详细]
2023-04-12 04:01 分类:问答Interact with ffmpeg from a .NET program?
I\'m trying to create a .NET wrapper for media-file conversion using ffmepg, here is what I\'ve tried:[详细]
2023-04-02 11:45 分类:问答Running MSBuild programmatically
I am trying to execute MSBuild programmatically and can\'t execute the following command: string command = string.Format(@\"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\msbuild.exe\"\"{0}\\{1}.[详细]
2023-04-01 13:03 分类:问答How to pass WindowState from desktop shortcut into WPF app?
How can I control the initial WindowState (Normal, Minimized, Maximized) of a WPF main window from a desktop shortcut?[详细]
2023-03-27 03:00 分类:问答Running an installer from within C#
I need to write code to download and run a program, e.g. notepad++ (npp.5.9.3.Installer.exe) this can be found on the web.[详细]
2023-03-23 23:56 分类:问答Program doesn’t terminate when using processes
Using the ProcessStartInfo and Process I would like start a program (e g getdiff.exe) and then read all the output that program produces. Later I will use the data in a more constructive way put right[详细]
2023-03-14 14:39 分类:问答Executing a process from .NET application without UAC prompt
I have a scenario where I need to launch an EXE from my .NET application, but I can\'t get around the UAC prompt that pops up. The prompt is triggered even before the other EXE is launched - probably[详细]
2023-03-08 20:10 分类:问答Problem launching FFmpeg inside C#
I\'m calling FFmpeg via ProcessStartInfo inside my C# application however, I can\'t keep getting the error;[详细]
2023-03-07 13:21 分类:问答Executing Batch File in C#
I\'m t开发者_Python百科rying to execute a batch file in C#, but I\'m not getting any luck doing it.[详细]
2023-02-21 18:38 分类:问答How can I launch a folder whose name contains a comma, using ProcessStartInfo in C#?
I have an app that queries a database for the location of a nested folder used for a task, and opens this folder (using the ProcessStartInfo class to launch explorer.exe and pass in the folder name as[详细]
2023-02-15 06:24 分类:问答