Computing.Net > Forums > Windows 95/98 > moving system files with DOS

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

moving system files with DOS

Reply to Message Icon

Name: noviceguy1
Date: November 29, 2005 at 19:57:21 Pacific
OS: Windows 98 SE
CPU/Ram: Pentium III 128
Comment:

Can anyone help? I'm a real computer novice, and I did something really dumb: While tidying up the hard drive, I moved a bunch of system files which were "loose" on C drive into a folder on C drive. I thought it wouldn't do any harm. Now Windows doesn't launch. I gives me the message "invalid system disk--insert disk and press any key". I guess it can no longer locate the necesary files. A friend gave me the idea of using a boot disk to get into DOS, and try to copy them back onto C. I thought I'd succeeded, but Windows still wouldn't launch. Then, I discovered that I hadn't succeeded in moving any of the hidden files that were also in the folder. I understand that for that ,I need xcopy, but my Windows 98 SE boot disk doesn't have xcopy on it. Can I download xcopy somewhere? Or am I completely barking up the wrong tree here? I'm hoping to not have to reinstall Windows, because there's a lot of data I'd like to save on the hard drive. Is there another way to go about this? Please help.
Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: ham30
Date: November 29, 2005 at 20:01:06 Pacific
Reply:

1.
Make sure that you don't have a floppy diskette in the floppy drive>
2.
If you have a win98 startup floppy, boot from it and type:

sys c:


0

Response Number 2
Name: jboy
Date: November 29, 2005 at 20:02:25 Pacific
Reply:

Ah, yes - compulsive file tidiers - I hpope you've learned your lesson.

To restore the system (boot) files, boot with the floppy and enter

sys c:

.. you should see system transferred

You can extract most files from the Windows CD, using SFC from the 'run' box (such as xcopy.exe)

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


0

Response Number 3
Name: name
Date: November 29, 2005 at 22:21:38 Pacific
Reply:

Since you don't seem to be very experienced, probably the best be would be to reinstall, but a few hints, or at least, thoughts

I have gotten to the point that I NEVER just install to one big hard drive partition from the CD.

I ALWAYS partition the drive--even my XP, which has one large parttion for X tra P utrid, has a FAT32 partition, so that if I need to do something with the drive with older Winblows (98) I can slave the drive and get to the other partition, but I digress.

In 95/98, make two partitions, and copy your \Win9x folder to the second partition, as well as any other backups you need to do. That way, if you DO need to reformat the C: partition, you (hopefully) have saved everything to the second partition.

You also use this second drive to save your data on.

As long as you are trying to save your data, here, and NOT installed programs, you could slave your drive to another machine, and save your data off your drive, then reinstall.

People who know me, here, know I can be a little rough, but I've been there, and a looooooonggggggg time ago, I've been know to "lose" a few necessary files--and then feel stupid.



0

Response Number 4
Name: jboy
Date: November 29, 2005 at 23:12:17 Pacific
Reply:

A lot depends on just what (and how many) files have been deleted. Restoring the boot files with "sys" should at least resolve the "invalid system disk" message, but if other important files are also gone, new and different error messages may arise.

Just to be clear - "xcopy" is not the solution

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


0

Response Number 5
Name: Mechanix2Go
Date: November 30, 2005 at 00:07:59 Pacific
Reply:

ham30, jboy & name,

yep, yep & yep

Just to be clear, with ATTRIB you could copy with COPY. But ATTRIB probably isn't on the floppy either.

Just to be clear, neither does a MOVE.

With luck, sys will do it.

For reference for would-be tidyer-uppers, the root of a DOS box should only have about six files. One, because nothing else belongs there; and two, it's much easier to spot something which has sneaked in.


If at first you don't succeed, you're about average.

M2


0

Related Posts

See More



Response Number 6
Name: Dan Penny
Date: November 30, 2005 at 12:53:38 Pacific
Reply:

Attrib is on a ~standard~ 98/98SE boot disk, existing in the created RAMDRIVE.

"For reference for would-be tidyer-uppers, the root of a DOS box should only have about six files. One, because nothing else belongs there; and two, it's much easier to spot something which has sneaked in."

When dealing with DOS, the root dir can contain up to 512 entries, files or sub-dirs. (Going from memory here on the number so.....) I do concur with your statement though. The less the better.

Some older (compatable) programs want to install to the root of C:, and of those some won't work unless this is so. For those, install as directed, as this saves problems developing with those program.

It's a good day when you learn something


0

Response Number 7
Name: jboy
Date: November 30, 2005 at 15:32:57 Pacific
Reply:

Hey Dan Penny ; )

Sure - the old maxim was to have (under DOS) just the 3 (visible) files: autoexec.bat, config.sys & command.com

Not so much about the max limit for FAT16 (although a consideration) but it *was* "tidier".

Not as feasible under Windows, but it's still considered 'good housekeeping' not to use the root as a dumping ground

Resist the temptation to close your request for help with semantically-null questions like “Can anyone help me?”


0

Response Number 8
Name: noviceguy1
Date: November 30, 2005 at 18:41:46 Pacific
Reply:

sys c: almost worked. "system transferred" appeared. When I restart now, the Windows graphic screen pops up for a split second, but then reverts to the DOS screen, and the C: cursor appears.


0

Response Number 9
Name: jubalsams
Date: November 30, 2005 at 19:14:16 Pacific
Reply:

Probably need MSDOS.SYS file moved back to the root as this file controls the booting.

To get your DOS tools, at the C: prompt key in:

PATH=C:\WINDOWS\COMMAND

Use the CD command to navigate. When you are in the directory with msdos.sys file in it key in:

ATTRIB -R -A -S -H MSDOS.SYS
COPY MSDOS.SYS C:\MSDOS.SYS
CD.. (back to the root)
ATTRIB +R +A +S +H MSDOS.SYS

reboot
***************************************


0

Response Number 10
Name: noviceguy1
Date: November 30, 2005 at 19:41:33 Pacific
Reply:

Thank you so much!!! It worked. Windows is now back.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Internet problems please ... mini windows 95



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 95/98 Forum Home


Sponsored links

Ads by Google


Results for: moving system files with DOS

defrag: moving system file www.computing.net/answers/windows-95/defrag-moving-system-file/10952.html

missing system files www.computing.net/answers/windows-95/missing-system-files/133279.html

Deleted SYSTEM FILES www.computing.net/answers/windows-95/deleted-system-files/151140.html