Jump to content











Photo
- - - - -

Need help with adding my batch file to startup.


  • Please log in to reply
1 reply to this topic

#1 Randy Lee

Randy Lee
  • Members
  • 1 posts
  •  
    United States

Posted 07 March 2013 - 08:38 PM

I'm building a x86 Windows 7 Enterprise PE disc.

I have it set perfect as I want, bare bones, drivers installed, everything.

My only problem is that I want to add a batch script to the start-up of my disc so that it pops up as soon as the boot disc hits the desktop. I know I can have the file just sit on the desktop and click on it manually, but is there a way that I can get my batch file to start up automatically when the disc boots?

This is what I have so far in my script:

 

net use x: \\gto\image\

START "Ghost32.exe" x:\\gto\image\ghost32.exe

 

I am trying to have the batch file reach my server (requires username and password), and then start up ghost32.exe from the location. Is this possible with putting a batch file in the startup of my boot disc?

 

Thanks.


 


Edited by Randy Lee, 07 March 2013 - 08:43 PM.


#2 RoyM

RoyM

    Frequent Member

  • .script developer
  • 420 posts
  • Interests:"Booting and Owning".
  •  
    United States

Posted 08 March 2013 - 01:59 AM

Not quite sure if this is what your asking for, but it should give you a good starting point.

 

http://reboot.pro/to...artup-programs/

 

Regards

RoyM


  • Randy Lee likes this




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users