Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 05-28-2008, 06:08 PM   #1 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,379

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Question on .bat files.

Hey guy's i am wondering if it's possible to write a .bat file that can do the following.

Create a directory called say X:\install then copy the install files from a CD or DVD an then make that able to be used as a partition for installing a
os onto the C: Partition.

Essentially it's so i can have a copy of the OS an the drivers on hand when i do a repair or reinstall ect.
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

www.moanmyip.com

^Check that out^
Saxon is offline  
Old 05-28-2008, 06:24 PM   #2 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Question on .bat files.

I'm pretty sure you can install windows from a directory, I guess thats what your question boils down to. and of course you could use a batch file to copy the files off the CD if you were doing a lot of PC's.. not sure if this is the most efficient approach mind.
I remember back in the days of 98 and 95 I used to always copy the CD to a folder then install from the folder, that way when windows asked you for the install cd (pretty often) you didn't have to go rummaging around for it.

This sounds vaguely relevant :

Make a Windows XP Install CD Folder, on your computer hard drive and CD Disc. WebTechGeek.com
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"

Last edited by MrCoffee; 05-28-2008 at 06:29 PM.
MrCoffee is offline  
Old 05-28-2008, 06:39 PM   #3 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,379

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Question on .bat files.

Yea basicly its for doing a large ammount of PC's.

What process did you do to copy the files? maybe i can write them into a bat?
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

www.moanmyip.com

^Check that out^
Saxon is offline  
Old 05-28-2008, 07:13 PM   #4 (permalink)
MrCoffee's Avatar
 
Monster Techie

Join Date: Feb 2006

Location: UK

Posts: 1,852

MrCoffee is on a distinguished road

Default Re: Question on .bat files.

I guess you'd use xcopy, something like

Code:
md c:\install
xcopy d:\*.* c:\install /s /e /h
Assuming D: is going to be the cd drive. - you could always get parameters if its going to be interactive.
__________________
Intel core I7 920
GA-EX58-UD3R
6GB OCZ platinum 1600
XFX HD4890
Noctua nh-u12p
Corsair HX520
Antec 300
Samsung 1TB F1 Spinpoint
Samsung SM2443BW 24"
MrCoffee is offline  
Old 05-28-2008, 07:20 PM   #5 (permalink)
Saxon's Avatar
 

Join Date: Feb 2007

Posts: 6,379

Saxon is just really niceSaxon is just really niceSaxon is just really niceSaxon is just really nice

Default Re: Question on .bat files.

let me give that a shot in my test bed rig i will report back in a few.
__________________
I am not here for long I am deploying soon so please don't expect anything long winded.

www.moanmyip.com

^Check that out^
Saxon is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
HijackThis logs for Security Team members only Trotter Virus - Spyware Protection / Detection 34 01-25-2008 01:13 PM
Running a lil slow Max Power HijackThis Logs (finished) 4 01-02-2008 06:44 PM
New Log enigm@tic HijackThis Logs (finished) 4 12-13-2007 08:45 PM
friends log Static_11 HijackThis Logs (finished) 11 11-25-2007 10:27 PM