Topic: AutoRun Script Question  (Read 4104 times)

AutoRun Script Question
« on: November 03, 2012, 01:21:37 PM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
I am alittle confused on the AutoRun deal. So I use add additional file option and add a autorun.cmd to the system32 folder and when the PE boots up, my autorun.cmd  starts with AutoRun.exe?  :embarrassed: 

Re: AutoRun Script Question
« Reply #1 on: November 03, 2012, 09:34:59 PM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
I am trying to use this on Gena by the way. Autorun.exe and autorun.cmd are being copied to system32 folder but will not run on bootup. I must admit, not the master script writer yet ( Didn't really know what a PE script or how PE worked til three days ago  :grin: ) but I have been trying all day to mod this script to work with Gena. Got it working perfect with Win7PE.  :frusty: 
« Last Edit: November 04, 2012, 12:17:01 AM by laddanator »

Re: AutoRun Script Question
« Reply #2 on: November 04, 2012, 01:56:32 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Ok guys, kinda feeling proud right now! I made some changes to the Win7PE AutoRun script and I am now proud to say it works with Gena!!!  :superman: If this hasn't been done already, do I send it to a mod to look over and can it be posted in on the Gena Script page?
« Last Edit: November 04, 2012, 01:56:53 AM by laddanator »

Re: AutoRun Script Question
« Reply #3 on: November 04, 2012, 07:46:26 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi laddanator,

I do not know about Autorun script much, so far Add_Shortcut,Autorun filled my needs ...
Please attach your mod Autorun,
and describe where you use (why you need etc.)  :thumbsup:

Re: AutoRun Script Question
« Reply #4 on: November 04, 2012, 10:22:30 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Auto run script allows you to add a runonce  script into registry and it copy autorun.exe into the system32 folder and will run any cmd labeled autorun. cmd.  The script paths was designed for Win7. I modded the script to include the i386 directory as paths as win7 doesn't have the i386 folder. So now on boot up of. Win7 PE or Gena, this autorun cmd runs all my little extra goodies on first boot up. Now I looked at add shortcut, autorun and was a tap confused. I may play with it more today. So this add_shortcut will create programs or cmd to run on first boot up? I was thinking it just created shortcuts. I saw the examples on the Web page but could you give me a clearer example on how it's used. Like and example of add_shortcut (switch) whatever.exe or whatever.cmd.
Thanks for your answers and replies.   :great:
« Last Edit: November 04, 2012, 10:23:38 AM by laddanator »

Re: AutoRun Script Question
« Reply #5 on: November 04, 2012, 11:25:45 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Ah I see, old school ;)

I made compatibilty changes http://www.mediafire.com/download.php?mob04cywhxyx2d9
to ease others in future ;)

well, we do not use this method anymore, it comes from very old times when there was no common way for startup tasks (I guess author that times ignore to add such thing to shell), this was invented.

Yes, Add_Shortcut creates shortcuts, and as you know Windows use startup shortcuts for startup tasks ;) --> Add_Shortcut,Autorun

Figuring out syntaxes is exhousting for a beginner,

Practice with ready solutions, which would also show you how syntax works  :thumbsup:
We already have Script Creator Packed  [ SC Packed ] http://TheOven.org/index.php?topic=178.0
available at \Utils\ of projects,
having Startup option, ( Add_Shortcut,Autorun )

check attached "new bie" tutorial pictures  :wink:

Re: AutoRun Script Question
« Reply #6 on: November 04, 2012, 11:47:14 AM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
I will upload that mod script shortly. I will look over this add_shortcut deal again. Thanks for your help, Lancelot.  :thumbsup:
« Last Edit: November 04, 2012, 11:48:19 AM by laddanator »

Re: AutoRun Script Question
« Reply #7 on: November 04, 2012, 10:36:56 PM »

laddanator

  • Chef
  • ***
  • Location: Virgina
  • Date Registered: Oct 2012
  • Posts: 268
Just saw the link and downloaded. Looking at pics now

 

Powered by EzPortal