Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line parameter from registry 2

Status
Not open for further replies.

Overdoos

IS-IT--Management
May 31, 2000
79
BE
Hello,

I didn't find any post on this subject, but if there are that you know of, please direct me to them.

I wonder if it is possible in Windows 2000 to feed a value from a registry key as a command line parameter (in a shortcut) or even as a dynamic value in a config-file for a program we use (custom development)

tnx,
:OD
 
Windows 2000 NTFS or FAT32 ?

JB - N.W. - UK....
If at first you don't succeed, keep at it until you can't even think straight !
 
Well you could write a batch file which

- extracts a registry key to a text file (using regedit command line)
- calls the program with registry key value (may need to extract right bit from the file - eg, using a for statement)

But don't know if this is what you want.
 
Thanks a lot.

I'll be looking into the given solutions to see if they get me where I want to be.

kr,
:OD
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top