Reg QUERY command help???
From: David Jones (kk7gw_at_yahoo.com)
Date: 07/03/03
- Next message: Emily: "How to turn off the annoying error message forwarding to microsoft"
- Previous message: Jupiter Jones [MVP]: "Re: XP admin password"
- In reply to: Craig: "Reg QUERY command help???"
- Next in thread: Alun Jones [MS MVP]: "Re: Reg QUERY command help???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 3 Jul 2003 09:55:33 -0700
Enclose the key in quotes, ex.
"HKLM\SYSTEM\ControlSet001\Services\dmio\BootInfo\Primary
Disk Group"
>-----Original Message-----
>I'm trying to use the Reg QUERY command in a batch file
to
>look for the following registry
>key:HKLM\SYSTEM\ControlSet001\Services\dmio\Boot
>Info\Primary Disk Group. (Note: The key should only
exist
>if the hard drive has been converted to a dynamic disk).
>Here's my command: Reg QUERY HKLM\SYSTEM\ControlSet001
>\Services\dmio\Boot Info\Primary Disk Group.
>Unfortunately, the Reg command won't work because of the
>SPACES in either Boot Info or Primary Disk Group! When
the
>batch file runs...it gives me an "Error: Too many
command-
>line parameters" How do I make the Reg command work with
>the spaces??? Suggestions???
>.
>
- Next message: Emily: "How to turn off the annoying error message forwarding to microsoft"
- Previous message: Jupiter Jones [MVP]: "Re: XP admin password"
- In reply to: Craig: "Reg QUERY command help???"
- Next in thread: Alun Jones [MS MVP]: "Re: Reg QUERY command help???"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|