Access the registry from DOS or start up screen
-
Access the registry from DOS or start up screen
Hello,
I need to know how to access the registry from a DOS or start-up screen as I've to remove a memory resident virus and I don't have a bootable floopy to boot from or any way to go online to download any type of software or utility to install on my system (I'm using this computer for a limited time and can't use it for downloading stuff) - I've been told that it is possible. Does any of you know how to do it?
Any help would be greatly appreciated,
Thanks.
-
What do you want to accomplish?
Can you provide more detail as to the problem?
A 9x machine does not provide any tools to do this in raw DOS. A third party tool capable of working with database files must be used.
If you have a virus there are floppy based virus removal tools available.
I strongly suggest that you understand the ramifications of accessing the registry in DOS (outside of the windows GUI/RegEdit utility), AND, ensuring the integrity of any registry entry files you wish to import.
To add a registry entry in dos; (filename.reg)
Imports and exports registry files to and from the registry.
REGEDIT [/L:system] [/R:user] filename1
REGEDIT [/L:system] [/R:user] /C filename2
REGEDIT [/L:system] [/R:user] /E filename3 [regpath1]
REGEDIT [/L:system] [/R:user] /D regpath2
/L:system Specifies the location of the SYSTEM.DAT file.
/R:user Specifies the location of the USER.DAT file.
filename1 Specifies the file(s) to import into the registry.
/C filename2 Specifies the file to create the registry from.
/E filename3 Specifies the file to export the registry to.
regpath1 Specifies the starting registry key to export from.
(Defaults to exporting the entire registry).
/D regpath2 Specifies the registry key to delete.