Re: Newbie Question on Exporting
- From: "Babu VT" <babuvt@xxxxxxxxxxxxx>
- Date: Fri, 28 Jul 2006 08:23:42 +0530
Hi Paul,
Put the below lines in a text file and save it as a .bat.
@echo off
SET MYKEY="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB"
IF EXIST "C:\regkey.txt" DEL /F /Q "C:\REGKEY.TXT"
regedit /E "C:\USB_Devices.txt" %MYKEY%
rgds
Babu
"Paul" <Paul@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:563E6CBC-E87D-46B2-8DBE-85358151A29E@xxxxxxxxxxxxxxxx
Hello,
I was Trying to export the registry key below to a text file. The test
file
I declared does not work. I would appreciate any help!
Thank You,
Paul
var regkey;
var WshShell = WScript.CreateObject("WScript.Shell");
WshShell.Run("regedit /e c:\test.txt
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB");
.
- Prev by Date: Re: Try sending email 5 times?
- Next by Date: Re: Create Multiple Accounts
- Previous by thread: Re: need help with exporting
- Next by thread: Re: Lock computer until process completes
- Index(es):
Relevant Pages
|