?
Solved

Auto export registry file

Posted on 2005-03-30
5
Medium Priority
?
552 Views
Last Modified: 2013-12-28
Dear Expert,

I would like to export registry file for "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI"
I know that I can maunally export it, but are there ways to schedule it and run automatically?
Also, can the file be changed from "*.reg" to "*.txt"?

Thanks all!

Sheila
0
Comment
Question by:yan_sheila
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 31

Expert Comment

by:merowinger
ID: 13669809
in my opinion there is no way to export a reg file via script!!!
but to increase your chances i would post this thread in the programming section!!!

greetings
mero
0
 
LVL 85

Accepted Solution

by:
oBdA earned 360 total points
ID: 13674328
regedit /e odbc.txt "HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI"

You can of course schedule that as well using the task scheduler.
0
 
LVL 7

Expert Comment

by:sweatbeast
ID: 13675163
also can use reg export HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI odbc.txt.
Not sure if available under NT,definately works on XP/Win2k3
0
 

Author Comment

by:yan_sheila
ID: 13677586
oBdA,

It works!! Thx a lot! ^^

Sheila
0
 

Author Comment

by:yan_sheila
ID: 14119378
oBdA,

I found that there is problem when VBScript reading these text files.
I have opened another question here:
http://www.experts-exchange.com/Operating_Systems/WinNT/Q_21442700.html

Please help me again.

Thanks a lot!

Sheila
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question