URGENT!!! Removeing entries inside a key?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries inside a key? Below is the data that I what to remove from the entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;

This is the actual entry that I have. I only want to remove the above entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp Files;\\bmkc1aleng\ESTeam6\Setup\Menu Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;
 
If you want to remove a key and all it's underlying values then you'll need
to construct your .reg file with a - minus sign in front of the key you want
to remove.

An example file to remove a file association .zzz from HKCR
-----------------Begin File-----------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.zzz]
----------------End File-------------

(note the minus sign in front of HKEY)


If you need to delete only certain values, for example the string value
"InfoTip"="Contains zzz files"

Then put a minus sign after the equals sign without "quotes", something like
"InfoTip"=-

So your .reg file would look like
----------------Begin File------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-
----------------End File-------------

regedit /s filename.reg to import silently


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| This is VERY URGENT for a rollout.
|
| I was wondeirng how I would go about removeing certain entries inside a
key? Below is the data that I what to remove from the entry.
|
| \\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;
|
| This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.
|
| Name:
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
|
| Data:
| \\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;
 
If you want to remove a key and all it's underlying values then you'll need
to construct your .reg file with a - minus sign in front of the key you want
to remove.

An example file to remove a file association .zzz from HKCR
-----------------Begin File-----------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.zzz]
----------------End File-------------

(note the minus sign in front of HKEY)


If you need to delete only certain values, for example the string value
"InfoTip"="Contains zzz files"

Then put a minus sign after the equals sign without "quotes", something like
"InfoTip"=-

So your .reg file would look like
----------------Begin File------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-
----------------End File-------------

regedit /s filename.reg to import silently


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| This is VERY URGENT for a rollout.
|
| I was wondeirng how I would go about removeing certain entries inside a
key? Below is the data that I what to remove from the entry.
|
| \\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;
|
| This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.
|
| Name:
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
|
| Data:
| \\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;
 
In microsoft.public.win2000.registry
=?Utf-8?B?Q2hyaXMgS2l0em1hbm4=?= said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries
inside a key? Below is the data that I what to remove from the
entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;

This is the actual entry that I have. I only want to remove the
above entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profi
les\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:
\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\He
lp;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1a
lsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\A
cad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc
1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bm
kc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custo
m_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;

This is a REG_MULTI_SZ value??? Not entirely clear...

It may be easiset to delete the valuename, then replace it entirely.
If the required data is known and fixed.
 
In microsoft.public.win2000.registry
=?Utf-8?B?Q2hyaXMgS2l0em1hbm4=?= said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries
inside a key? Below is the data that I what to remove from the
entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;

This is the actual entry that I have. I only want to remove the
above entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profi
les\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:
\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\He
lp;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1a
lsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\A
cad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc
1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bm
kc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custo
m_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;

This is a REG_MULTI_SZ value??? Not entirely clear...

It may be easiset to delete the valuename, then replace it entirely.
If the required data is known and fixed.
 
So is this what it should look like if I want to remove these 3 entires from the data of "ACAD"?

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]
"ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;

Dave Patrick said:
If you want to remove a key and all it's underlying values then you'll need
to construct your .reg file with a - minus sign in front of the key you want
to remove.

An example file to remove a file association .zzz from HKCR
-----------------Begin File-----------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.zzz]
----------------End File-------------

(note the minus sign in front of HKEY)


If you need to delete only certain values, for example the string value
"InfoTip"="Contains zzz files"

Then put a minus sign after the equals sign without "quotes", something like
"InfoTip"=-

So your .reg file would look like
----------------Begin File------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-
----------------End File-------------

regedit /s filename.reg to import silently


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| This is VERY URGENT for a rollout.
|
| I was wondeirng how I would go about removeing certain entries inside a
key? Below is the data that I what to remove from the entry.
|
| \\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;
|
| This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.
|
| Name:
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
|
| Data:
| \\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;
 
So is this what it should look like if I want to remove these 3 entires from the data of "ACAD"?

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]
"ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;

Dave Patrick said:
If you want to remove a key and all it's underlying values then you'll need
to construct your .reg file with a - minus sign in front of the key you want
to remove.

An example file to remove a file association .zzz from HKCR
-----------------Begin File-----------
Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\.zzz]
----------------End File-------------

(note the minus sign in front of HKEY)


If you need to delete only certain values, for example the string value
"InfoTip"="Contains zzz files"

Then put a minus sign after the equals sign without "quotes", something like
"InfoTip"=-

So your .reg file would look like
----------------Begin File------------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.zzz]
"InfoTip"=-
----------------End File-------------

regedit /s filename.reg to import silently


--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| This is VERY URGENT for a rollout.
|
| I was wondeirng how I would go about removeing certain entries inside a
key? Below is the data that I what to remove from the entry.
|
| \\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;
|
| This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.
|
| Name:
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
|
| Data:
| \\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;
 
Maybe, Here is the key again sorry.

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]
"ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;

Mark V said:
In microsoft.public.win2000.registry
=?Utf-8?B?Q2hyaXMgS2l0em1hbm4=?= said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries
inside a key? Below is the data that I what to remove from the
entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;

This is the actual entry that I have. I only want to remove the
above entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profi
les\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:
\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\He
lp;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1a
lsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\A
cad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc
1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bm
kc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custo
m_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;

This is a REG_MULTI_SZ value??? Not entirely clear...

It may be easiset to delete the valuename, then replace it entirely.
If the required data is known and fixed.
 
Maybe, Here is the key again sorry.

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]
"ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;

Mark V said:
In microsoft.public.win2000.registry
=?Utf-8?B?Q2hyaXMgS2l0em1hbm4=?= said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries
inside a key? Below is the data that I what to remove from the
entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;

This is the actual entry that I have. I only want to remove the
above entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profi
les\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp
Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:
\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\He
lp;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1a
lsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\A
cad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc
1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bm
kc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custo
m_Details\Z
Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp
Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu
Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\P
rocess\ZRegion\Custom_Details\Z
Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom
Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp
Files;\\bmkc1aleng\ESTeam6\Setup\Menu
Files;\\bmkc1alsol01\Process\ZRegion\Research\Lisp;

This is a REG_MULTI_SZ value??? Not entirely clear...

It may be easiset to delete the valuename, then replace it entirely.
If the required data is known and fixed.
 
Chris said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries inside a key?
Below is the data that I what to remove from the entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;

This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp Files;\\bmkc1aleng\ESTeam6\Setup\Menu Files;\\bmkc1alsol01\Process\ZRegion\Resear
ch\Lisp;
Hi

As I see from your other posts in this thread you want to remove
some entries inside the *value* (and not key) with the name ACAD.
This you can't do with a registry file, you can only use a registry
file to delete a key or value completely.

Below is a VBScript file that should do the job.

Also note my recent response to your question in the
"File Type Association" post.


'--------------------8<----------------------

' do not add a trailing semicolon on the paths below!
aPaths = Array( _
"\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files", _
"\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files", _
"\\Bmkc1alsol01\ESTeam6\Setup\Menu Files", _
"\\Bmkc1alsol01\Process\ZRegion\Research\Lisp", _
"\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details", _
"\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details")

Set oShell = CreateObject("WScript.Shell")

sRegValueName = "HKCU\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409" _
& "\Profiles\<<Unnamed Profile>>\General\Acad"

On Error Resume Next
sRegValueData = "" ' init value
sRegValueData = oShell.RegRead(sRegValueName)
On Error Goto 0

If sRegValueData <> "" Then

For Each sPath In aPaths
'WScript.Echo sPath
' replace value that is surrounded with quotes
sRegValueData = Replace(sRegValueData, """" & sPath & """;", "")
' replace value that is not surrounded with quotes
sRegValueData = Replace(sRegValueData, sPath & ";", "")
Next

oShell.RegWrite sRegValueName, sRegValueData, "REG_SZ"

End If
'--------------------8<----------------------
 
Chris said:
This is VERY URGENT for a rollout.

I was wondeirng how I would go about removeing certain entries inside a key?
Below is the data that I what to remove from the entry.

\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;

This is the actual entry that I have. I only want to remove the above
entries without removeing anything else. PLEASE HELP.

Name:
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed Profile>>\General]

Data:
\\bmkc1aleng\ESTeam6\Setup\Lisp Files;\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files;C:\ACAD2000\Support;\\bmkc1alsol01\ACAD2K\ACAD2000\support;C:\ACAD2000\fonts;\\bmkc1alsol01\ACAD2K\ACAD2000\Fonts;C:\ACAD2000\Help;\\bmkc1alsol01\ACAD2K\ACAD2000\Help;C:\ACAD2000\Express;\\Bmkc1alsol01\acad2k\ACAD2000\express;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Lisp;\\bmkc1alsol01\ProgramFiles\Butler\Acad2k\Symbols;\\bmkc1alsol01\ProgramFiles\Butler\Smart;\\bmkc1alsol01\std_drawings;\\bmkc1alsol01\std_drawings\Cadlib;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\Bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files;\\Bmkc1alsol01\ESTeam6\Setup\Menu Files;\\Bmkc1alsol01\Process\ZRegion\Research\Lisp;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details;\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details;\\bmkc1aleng\ESTeam6\Setup\Steel.lsp Files;\\bmkc1aleng\ESTeam6\Setup\Menu Files;\\bmkc1alsol01\Process\ZRegion\Resear
ch\Lisp;
Hi

As I see from your other posts in this thread you want to remove
some entries inside the *value* (and not key) with the name ACAD.
This you can't do with a registry file, you can only use a registry
file to delete a key or value completely.

Below is a VBScript file that should do the job.

Also note my recent response to your question in the
"File Type Association" post.


'--------------------8<----------------------

' do not add a trailing semicolon on the paths below!
aPaths = Array( _
"\\Bmkc1alsol01\ESTeam6\Setup\Lisp Files", _
"\\Bmkc1alsol01\ESTeam6\Setup\Steel.lsp Files", _
"\\Bmkc1alsol01\ESTeam6\Setup\Menu Files", _
"\\Bmkc1alsol01\Process\ZRegion\Research\Lisp", _
"\\bmkc1alsol01\Process\ZRegion\Custom_Details\Z Details", _
"\\bmkc1alsol01\Process\ZRegion\Custom_Details\Custom Details")

Set oShell = CreateObject("WScript.Shell")

sRegValueName = "HKCU\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409" _
& "\Profiles\<<Unnamed Profile>>\General\Acad"

On Error Resume Next
sRegValueData = "" ' init value
sRegValueData = oShell.RegRead(sRegValueName)
On Error Goto 0

If sRegValueData <> "" Then

For Each sPath In aPaths
'WScript.Echo sPath
' replace value that is surrounded with quotes
sRegValueData = Replace(sRegValueData, """" & sPath & """;", "")
' replace value that is not surrounded with quotes
sRegValueData = Replace(sRegValueData, sPath & ";", "")
Next

oShell.RegWrite sRegValueName, sRegValueData, "REG_SZ"

End If
'--------------------8<----------------------
 
Something like;

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
"ACAD"=-

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| So is this what it should look like if I want to remove these 3 entires
from the data of "ACAD"?
|
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
| "ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp
Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp
Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;
 
Something like;

[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
"ACAD"=-

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| So is this what it should look like if I want to remove these 3 entires
from the data of "ACAD"?
|
|
[HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-1:409\Profiles\<<Unnamed
Profile>>\General]
| "ACAD"=-\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Lisp
Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Steel.lsp
Files;\\\\Bmkc1alsol01\\ESTeam6\\Setup\\Menu Files;
 
Back
Top