473,421 Members | 1,539 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Registry Entry For A Application in Windows\system32\ Directory

How To Made A Entry Of An Application In Registry Placed At Windows\System32 Directory?

What To Write So That It Can Detect Windows Drive And Make Entry According TO That.

e.g.
Application Name = Shutdown.exe
Location = D:\Windows\System32\Shutdown.exe
Registry Entry = HKEY_CURRENT_USER\Software\ACME

"Shutdown"="D:\\Windows\\System32\\Shutdown.ex e"

Every Pc Has Windows Installion In Different Drive Then How To Get The Drive Letter?
Attached Files
File Type: txt 1.txt (446 Bytes, 412 views)
Aug 4 '10 #1
5 2971
Dheeraj Joshi
1,123 Expert 1GB
You may need windows management interface to achieve this. I don't think you can directly do this.

Regards
Dheeraj Joshi
Aug 4 '10 #2
Dheeraj Joshi
1,123 Expert 1GB
Take a look at this

Regards
Dheeraj Joshi
Aug 4 '10 #3
But At The Time Of Installing A program, It Automatically Sets Its Data In Registry.
Aug 4 '10 #4
Dheeraj Joshi
1,123 Expert 1GB
Then you need to take care it in installer of your application.
I thought you are talking about accessing those registry parameters.

Regards
Dheeraj Joshi
Aug 4 '10 #5
Dheeraj Joshi
1,123 Expert 1GB
Or you can use "reg add" command from prompt to add the entry to the registry during your app installation.

Regards
Dheeraj Joshi
Aug 4 '10 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Jean-Marc Molina | last post by:
Hello, I can't find a way to execute a Windows application, whose directory path contains blank spaces, from a PHP script. I also wonder if the problem happens under Linux and other OS. ...
3
by: | last post by:
Hi, I am an intermediate computer science student and I am in need of a "macro type" tool/language that will let me automate a data entry process. The data entry is rather simple but requires...
2
by: steve b | last post by:
I need to add a registry entry to internet explorer (I'm adding a right click menu item) with vb.net setup program. Anyone know how to do that? Thanks!
1
by: rdavis7408 | last post by:
I have a database that has a form that opens a report using date parameters. I have been using it for six months and last week I began to get the following Error Message: "File sharing lock...
2
by: Fuse | last post by:
From reading MSDN, I am unable to discern what the format of the registry entry/key/value/whatever needs to look like for registering a DHCP Callout Dll. The documentation simply states ...
3
by: ray well | last post by:
hi, what registry entry would i look up to find out if the .net framework 1.1 is installed on a machine? do registry entries know the difference between .net 1.1 and 1.0, my understanding is...
5
by: Tull Clancey | last post by:
Hi. Does anyone have a way of creating a registry entry during the VB Net 2003 installation process? I can't rely on the application adding the entry on first run. Any help gratefully...
2
by: Bill Nguyen | last post by:
I ran into Excel alphanumeric data column import using ADO.NEt. Upon searching, I found this solution, but it requires edit a registry entry as follow:...
2
by: =?Utf-8?B?b3VtYWxvdQ==?= | last post by:
Help - I ran a file from Kelly's Korner, regopen.vbs and now my taskbar is permanantly locked. how can I undo this registry entry? -- oumalou
6
by: Matt Nunnally | last post by:
I want to know if there is a registry entry that will tell me if a computer is using XP Pro or XP Home? The same with vista. I am familiar with HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.