About 53 results
Open links in new tab
  1. What is the correct way to use ShellExecute() in C to open a .txt

    Jun 13, 2012 · Alright so i need to open a .txt file that will be created in the same file as the program. I would like to use ShellExecute(); to do this and i have done a lot of research on it and i just cant ...

  2. What does the win32api.ShellExecute () function do?

    Jan 24, 2021 · import win32api win32api.ShellExecute(0, "print", path_for_file , None, ".", 0) When I run this program, the file gets printed without any problems. But the thing is that I'm not understanding …

  3. ShellExecuteでcmd.exeからbat実行する際に引数にフォルダパスを入 …

    Aug 29, 2019 · ShellExecuteを使ってcmd.exeを呼び出し、batファイルを実行し、その際にフォルダパスを引数に入れたいのですが、batが正常に実行できません。 #include <Windows.h> #pragma …

  4. c# - ShellExecute equivalent in .NET - Stack Overflow

    I'm looking for the .NET-preferred way of performing the same type of thing that ShellExecute does in Win32 (opening, printing, etc. for arbitrary file types). I've been programming Windows for ov...

  5. How to wait for ShellExecute to run? - Stack Overflow

    I have manages to use ShellExecute in VC++ in order to launch a document. Now I wish to run a command-line tool that receives some arguments, and to run in the background (as hidden, not …

  6. how to get return value of an exe called by ShellExecute

    Feb 11, 2015 · How to get the return value of an exe which is called by shellexecute function.

  7. When do we need to set ProcessStartInfo.UseShellExecute to True?

    The UseShellExecute boolean property is related to the use of the windows ShellExecute function vs the CreateProcess function - the short answer is that if UseShellExecute is true then the Process class …

  8. winapi - ShellExecute, "Print" - Stack Overflow

    May 17, 2013 · ShellExecute(NULL, "print", "C:\\index.html", NULL, NULL, SW_HIDE); With this I would like to get print dialog for press OK for start printing but instead of that MS Word opens with file …

  9. ShellExecute to open an .exe in C++ - Stack Overflow

    I am trying to open sigverif.exe from my code in c++ but the return value is 2 and .exe does not open

  10. Run ShellExecute () Command Directly From PS1 File

    May 4, 2024 · ShellExecute () is not unique to VBScript; it's a standard Windows API function available in Shell32.dll, so a better question would be how to access that from PowerShell, directly – trying to …