| Author |
Message |
Led Hed Ree-Yees
Joined: 23 Oct 2003
|
Posted: Nov 01, 2003 17:26 Post subject: Little Question |
|
|
my friend's dad was cleaning through the computer and managed to delete System.ini (Real smart there) So I was wondering in a .BAT how you can get it to copy a file and paste it in another location (C:\windows)
|
|
Taton Trandoshan
Joined: 25 Sep 2003
|
Posted: Nov 01, 2003 17:57 Post subject: |
|
|
What are friends for?
*realises that Led Head isn't his friend*
O Nevermind.
Actually I'm not sure what you can do. I can't for the life of me remeber what "System.ini" does.
*Wishes he payed more attention in computer class*
Someone like Mattias Welander or Matt H might know.
_________________ "A fight should be clean and elegant, without waste"
-Asuka Langley Sohryu, Evangelion |
|
japh Gamorrean
Joined: 30 Sep 2003
|
|
GAdRS Ree-Yees
Joined: 03 Oct 2003
|
Posted: Nov 03, 2003 14:39 Post subject: |
|
|
So, system.ini is deleted.....you'll probably have to reinstall Windows completely.
Your second question is completely unrelated, but in batch programming you simply use DOS commands. The DOS command for copy is "xcopy <file1> <file2>" File1 is the original location of the file, file2 is the new location.
|
|
japh Gamorrean
Joined: 30 Sep 2003
|
Posted: Nov 03, 2003 15:53 Post subject: |
|
|
xcopy is extended copy and is (IIRC) the same as cp -R. The original command is copy.
|
|
Led Hed Ree-Yees
Joined: 23 Oct 2003
|
Posted: Nov 04, 2003 03:01 Post subject: |
|
|
I'm putting system.ini onto a Floppy disk and all he needs to do in run the program on the disk. This allows him to get the .ini file back.
|
|
Mattias Welander Trandoshan
Joined: 27 Sep 2003
|
Posted: Nov 04, 2003 10:02 Post subject: |
|
|
Just make sure the new system.ini is from a system identical to the one you're importing it into, since the system.ini file stored the(Windows 3.1)/some(Windows 9x) hardware drivers used by Windows. If you're running 9x, you'll probably get away with some system differences, though.
Why not install a real modern Windows version instead, one that does not require system.ini at all? One that can actually be protecting from having its system files accidentally deleted?
|
|
The MAZZTer Death Star

Joined: 25 Sep 2003
|
Posted: Nov 04, 2003 12:55 Post subject: |
|
|
Yeah, sysytem.ini is a backwards compatibility file for 3.1 programs, really.
Don't worry, your dad isn't alone... see how many people have deleted system critical files to free more space: http://rinkworks.com/stupid/
_________________ http://www.mzzt.net/ | I am a respectable admin with a respectable sig. |
|
Nottheking Kell Dragon
Joined: 29 Sep 2003
|
Posted: Nov 05, 2003 18:45 Post subject: |
|
|
My, what fun those stories were! (actually, I only have had time to read a few so far...)
_________________ Wake up, George Lucas... The Matrix has you.. |
|
|