DF-21 Forums Forum Index DF-21 Forums
The Dark Forces Community
 
DF-21.net Home | FAQ | Search | Memberlist  | Register 
Profile | Log in to check your private messages | Log in

Little Question

 
Post new topic   Reply to topic    DF-21 Forums Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Led Hed
Ree-Yees

Joined: 23 Oct 2003

PostPosted: Nov 01, 2003 17:26    Post subject: Little Question View user's profile Send private message Reply with quote

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

PostPosted: Nov 01, 2003 17:57    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Nov 02, 2003 22:32    Post subject: Re: Little Question View user's profile Send private message Reply with quote

Led Hed wrote:
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)



I don't see the relation between your first statement and your question. A little punctuation would help.

You can use the DOS copy command to copy a file.

GAdRS
Ree-Yees

Joined: 03 Oct 2003

PostPosted: Nov 03, 2003 14:39    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Nov 03, 2003 15:53    Post subject: View user's profile Send private message Reply with quote

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

PostPosted: Nov 04, 2003 03:01    Post subject: View user's profile Send private message Reply with quote

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

PostPosted: Nov 04, 2003 10:02    Post subject: View user's profile Send private message Send e-mail Reply with quote

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
Death Star

Joined: 25 Sep 2003

PostPosted: Nov 04, 2003 12:55    Post subject: View user's profile Send private message Send e-mail Reply with quote

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

PostPosted: Nov 05, 2003 18:45    Post subject: View user's profile Send private message Reply with quote

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..

Display posts from previous:   
Post new topic   Reply to topic    DF-21 Forums Forum Index -> General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group