Questions tagged [rundll32]

runDLL32.exe is a Win32 - utility from Microsoft Windows that loads and runs 32-bit specific functions from dynamic-link libraries (DLLs).

Useful links: Rundll32 on technet. Rundll32 on SS64 help pages.

94 questions
0
votes
0 answers

How can i run rundll32 64bit process from c#

I need install driver into system32\drivers, but if i'm using default install from rundll32 from c#, driver is installing into syswow64. That is my code: ProcessStartInfo startInfo = new ProcessStartInfo(); startInfo.Verb =…
Alexander Mashin
  • 693
  • 3
  • 14
  • 34
0
votes
2 answers

Using Runtime.exec not opening my xls file

HAve this piece of code that opens the files: Runtime.getRuntime().exec(new String[] {"rundll32", "url.dll,FileProtocolHandler", file.getAbsolutePath()}); where I have passed the file.. It's strange that…
user2176576
  • 734
  • 3
  • 14
  • 39
0
votes
1 answer

Create folder without using cmd.exe in windows

EDIT: I have proprietary application which supports only executing windows commands and executables (only from Windows folder) with paramaters and I need to create folder using that but I don't want to see cmd window blink. This app doesn't support…
BreteP
  • 71
  • 1
  • 7
0
votes
0 answers

Cannot open file using Runtime.getRuntime().exec when file name contains special character on Window 8.1

I try to use the following code to open a specific file on Window 8.1 public static void main(String[] args) throws Exception { if (args.length > 0) { File file = new File(args[0]); if (file.exists()) { …
Gui
  • 51
  • 4
  • 7
0
votes
0 answers

Windows 8 command line for Open With dialog

What is the Windows 8 version of the "rundll32.exe shell32.dll,OpenAs_RunDLL {path}" command? I am trying to get the open with dialog in Java, which works in Windows 7, but does nothing on Windows 8 ... ProcessBuilder pb = new…
0
votes
1 answer

Open PDF File in Java with double space

I stumbled upon something really weird in the code down below. I want to open a *.pdf file in Java, using the Runtime.getRuntime().exec("some command").waitFor(); statement. public static void main(String[] args) { File file = new…
RvanHeest
  • 869
  • 6
  • 12
0
votes
1 answer

PHP execution for rundll

Does anyone have an idea on how I can execute the below code in php ? Running the above doesn't add the network printer... Does my syntax in php is correct…
user3111077
  • 13
  • 1
  • 4
0
votes
1 answer

Inject text in a rundll32.exe window

I must enter a username/password within a rundll32.exe process window. I've tought of the following: Get Login window handle from the rundll32.exe process Focus the window Inject the text in 2 textbox and click the ok button Is it possible to do…
Machinegon
  • 1,855
  • 1
  • 28
  • 45
0
votes
1 answer

Is it possible to determine the window/application with focus from a bat script?

The function to do so is apparently in User32.dll. I've been trying to tinker with rundll32.exe, but when I run this: rundll32 User32.dll,GetActiveWindow It exits without error but does nothing. The exit code will of course only say whether or not…
John O
  • 4,863
  • 8
  • 45
  • 78
0
votes
1 answer

Run Windows PhotoViewer on image file with spaces in its path

I have a problem with running PhotoViewer on image file with spaces in its path. I'm using C++ function CreateProcess, supplying a command line as its argument. The command line template for that is: "rundll32
0
votes
1 answer

Running rundll32.exe on WindowsXP

Using Rundll32.exe in Windows XP Can I pass some arguments like "Yes to all prompts" or "Return key to all prompts" to such commands? Like we do while copy/pasting files and overwriting, etc. Edit: DLL in question: C:\Program Files\Sony…
जलजनक
  • 3,072
  • 2
  • 24
  • 30
0
votes
1 answer

How to avoid Windows Security box during printer driver installation

I have created an MSI package (Using InstallShield - IS) that installs my application along with the MS Postscript driver. My question mainly focuses on the postscript driver install part of the my overall installation process. I have created an…
Jim Kennedy
  • 782
  • 9
  • 23
0
votes
1 answer

UCC API for Lync

I need software that will allow me to change the call forwarding in Lync's voip. No such software (other than Microsoft's own client) exists, so I need to write it myself. I have Visual Studio 2010, but it's unclear just which SDKs need to be…
John O
  • 4,863
  • 8
  • 45
  • 78
0
votes
1 answer

Call an *.exe-file through a *.dll-file and submit parameters, too

I'm trying to start an *.exe-file with the help of a *.dll-file instead of calling the *.exe-file directly. It will be used for a program that is able to start *.dll-files, but not *.exe-files. In this case: The browser.exe is written in vb.NET and…
Markus G.
  • 331
  • 1
  • 14
-1
votes
1 answer

Python get printer dialog configuration set by the user

So I am trying to make a python Windows application that has a button where it displays the user the printer dialog so he can set the configuration for the printer. When I say printer dialog I mean this one: In my program I need to have two printer…
Bruno
  • 61
  • 8