7,388 questions
878
votes
15
answers
1.5m
views
How to export/import PuTTY sessions list?
Is there a way to do this?
Or I have to take manually every record from Registry?
344
votes
25
answers
266k
views
Read/write to Windows registry using Java
How is it possible to read/write to the Windows registry using Java?
231
votes
4
answers
322k
views
Where are environment variables stored in the Windows Registry?
I need to access an environment variable remotely. To do this, I think the best way is to read it from registry.
Where are environment variables stored in the Windows Registry?
142
votes
17
answers
289k
views
Java Error opening registry key
I get this error when I try to do anything with Java in command prompt:
Error opening registry key 'Software\JavaSoft\Java Runtime Environment.3'
Error: could not find Java.dll
Error: could not find ...
107
votes
6
answers
81k
views
Reading 64bit Registry from a 32bit application
I have a c# unit test project that is compiled for AnyCPU. Our build server is a 64bit machine, and has a 64bit SQL Express instance installed.
The test project uses code similar to the following to ...
101
votes
12
answers
45k
views
Windows is not passing command line arguments to Python programs executed from the shell
I'm having trouble getting command line arguments passed to Python programs if I try to execute them directly as executable commands from a Windows command shell. For example, if I have this program (...
91
votes
10
answers
345k
views
How do I get the value of a registry key and ONLY the value using powershell
Can anyone help me pull the value of a registry key and place it into a variable in PowerShell? So far I have used Get-ItemProperty and reg query and although both will pull the value, both also add ...
89
votes
3
answers
180k
views
How to read value of a registry key c#
At start up of my application I am trying to see if the user has a specific version of a software installed, specifically the MySQL connector, all using c#. In the registry, the MySQL contains a ...
78
votes
7
answers
471k
views
Where can I set path to make.exe on Windows?
When I try run make from cmd-console on Windows, it runs Turbo Delphi's make.exe but I need MSYS's make.exe. There is no mention about Turbo Delphi in %path% variable, maybe I can change it to MSYS in ...
73
votes
12
answers
146k
views
How to run a C# application at Windows startup?
I made an application that launches during startup, with the next code below.
The process runs on the process manager tool after the restart, but I can't see
the application on the screen.
When I open ...
71
votes
9
answers
332k
views
Detecting installed programs via registry
I need to develop a process that will detect if the users computer has certain programs installed and if so, what version. I believe I will need a list with the registry location and keys to look for ...
66
votes
10
answers
358k
views
How can I check what version/edition of Visual Studio is installed programmatically?
I could read registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0.
However, it doesn't give me any information about the edition of it - Professional/Ultimate or whatever.
How can I get ...
65
votes
6
answers
173k
views
Reading a registry key in C#
I have developed an application and installed it on a client computer. In my application I need to get its installation path. My application has a registry entry at:
HKEY_LOCAL_MACHINE\SOFTWARE\...
65
votes
9
answers
58k
views
Associate File Extension with Application
I've written a program that edits a specific filetype , and I want to give the user the option to set my application as the default editor for this filetype (since I don't want an installer) on ...
63
votes
4
answers
84k
views
Reading the registry and Wow6432Node key
I have some code that reads the registry and looks for a value in HKEY_LOCAL_MACHINE\Software\App\ but when running on 64-bit versions of Windows the value is under HKEY_LOCAL_MACHINE\Software\...
61
votes
8
answers
256k
views
How can I change the Java Runtime Version on Windows (7)?
How can I change the Java Runtime Version on Windows.
I installed Java 7 for some tests, and now I need the old java6 as system default, but I don't want to uninstall the Java 7 (I need it ...
59
votes
5
answers
64k
views
Configure Windows Explorer Folder Options through Powershell
I'm looking for a way to configure a few options in Folder Option dialog of Windows Explorer through Powershell.
The options are:
Choose "Show hidden files, folders, and drives"
Uncheck "Hide ...
56
votes
6
answers
125k
views
Writing to registry in a C# application
I'm trying to write to the registry using my C# app.
I'm using the answer given here: Writing values to the registry with C#
However for some reason the key isn't added to the registry.
I'm using ...
55
votes
5
answers
151k
views
Assign command output to variable in batch file [duplicate]
I'm trying to assign the output of a command to a variable - as in, I'm trying to set the current flash version to a variable. I know this is wrong, but this is what I've tried:
set var=reg query ...
53
votes
7
answers
198k
views
Is it possible to modify a registry entry via a .bat/.cmd script?
Is it possible to modify a registry value (whether string or DWORD) via a .bat/.cmd script?
53
votes
7
answers
155k
views
Requested registry access is not allowed
I'm writing a tweak utility that modifies some keys under HKEY_CLASSES_ROOT.
All works fine under Windows XP and so on. But I'm getting error Requested registry access is not allowed under Windows 7. ...
52
votes
25
answers
204k
views
Detect whether Office is 32bit or 64bit via the registry [closed]
Now that Office also comes in a 64bit install, where in the registry do you find out if the version of Office installed is 32bit or 64bit?
50
votes
10
answers
128k
views
Tracking changes in Windows registry
Is there a way to track changes in Windows registry? I'd like to see what changes in the registry are made during installation of various programs.
48
votes
6
answers
83k
views
Windows 64-bit registry v.s. 32-bit registry
I heard on Windows x64 architecture, in order to support to run both x86 and x64 application, there is two separate/different sets of Windows registry -- one for x86 application to access and the ...
46
votes
2
answers
77k
views
modifying the registry key value
I have a registry path of the following
HKEY_LOCAL_MACHINE\SOFTWARE\COMPANY\COMPFOLDER
inside COMPFOLDER, I have a string value called "Deno" whose value is 0. I wish to change its value to 1 by code ...