Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(HELP) I can't bootup my PC

Status
Not open for further replies.

daz10

Technical User
Jan 2, 2004
2
GB
Hello everyone

How do you clear some memory from C drive when using just MS-DOS or command line. I can't remember how to do it! I tried to install GNU C++ and I had to put some commands into autoexec but things went wrong and now can't bootup to windows or access any files. It looks like that I will have to re-install windows but I have to clear some memory from C drive to do this because when i tried to install windows again it said that I have not enough space on C drive. What I want to clear is the existing windows98 programme and other stuff but not anything in my own files. So how do I do this?

Daz10
 
Sorry about this. I mean how do I clear the memory by using just the command prompt.
 
Daz10
If you are going to reinstall windows 98, then going into MSDOS mode and typing 'deltree c:\windows' will remove all of the windows directory and all sub directories.
If deltree isnt present then its a case of running 'dir' to see what is on the disk, and 'del xxxxxx' for each file and 'rmdir xxxx' for each directory. Be aware though that a directory cannot be removed whilst it still contains anything, either sub directories or files. Make sure you are in the directory you wish to clear... 'cd xxxxx' is change directory. Use del *.* carefully as this means 'delete all files in the directory I am in'..
Read about DOS commands first, and if you can get hold of deltree.exe it will make things easier. It should be in c:\windows\command

Bear in mind that whilst all your files may be safe, if they have been stored in a sub directory of windows they will disappear. Move them out of windows before you start. Also bear in mind that all the drivers in windows will go too, and all of the applications will best be reloaded.

READ, READ, READ, READ, test then act...

Steve Hawker - Blackcap Computing Ltd

Is the square root of 69 eight something ? >
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top