Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions > Programming Tips and FAQ

Reply
 
LinkBack Thread Tools Display Modes
Old 06-02-2006, 03:09 PM   #1 (permalink)
Newb Techie
 
Join Date: Jun 2006
Posts: 2
Default Making an autorun program.

Hey i am new to prgramming and i make small annoying bat files. i was wondering though how do you make an autorun program?
Axe_mann is offline   Reply With Quote
Old 06-02-2006, 05:32 PM   #2 (permalink)
Wizard Techie
 
Join Date: Feb 2005
Posts: 3,665
Send a message via Yahoo to brady
Default

autoexec.exe



http://www.computerhope.com/ac.htm
__________________
brady is offline   Reply With Quote
Old 06-03-2006, 05:10 AM   #3 (permalink)
Dope Tech
 
Join Date: Jan 2004
Posts: 3,589
Send a message via ICQ to office politics Send a message via AIM to office politics Send a message via Yahoo to office politics
Default

Quote:
Originally posted by bradybnmci
autoexec.exe

http://www.computerhope.com/ac.htm
u mean autoexec.bat? since its referenced in the link.

i dont think 2k or xp executes these files on windows startup by default.

http://www.annoyances.org/exec/forum/winxp/t1031935583
Quote:
Not sure but try this one. Run regedit go to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" at the right pane add a string value "ParseAutoexec" (no quotes) and give value 1 to the string. Hope this help...

it seems autoexec.nt may execute before a dos window opens though.

http://support.microsoft.com/kb/314106/
Quote:
Check the Config.nt and Autoexec.nt files in the SystemRoot%\System32 folder for non-standard settings.

on the flipside, autorun is a function of any cd/dvd drive that executes when you insert the cd and the cd contains properly formatted file named autorun.inf

Autorun.inf Entries


if you want the batch files to execute on windows startup, id place them in either A- windows start menu startup folder, which loads after windows logon or B- windows registry Run key Run and RunOnce Registry Keys
__________________
Tech IMO.com | ExtremeTech.com | ASP Free.com | SysOpt.com | Tech Support Guy.org
DB Forums.com | Cyber Tech Help.com | Lazy Forums.com | Warrior Nation.net

'If you don't stand for somethin you'll fall for anything' - Dr. Dre Been there, done that
office politics is offline   Reply With Quote
Old 06-05-2006, 09:22 AM   #4 (permalink)
Newb Techie
 
Join Date: Jun 2006
Posts: 2
Default its for a bat to send!

the tiltle sums it up. i just need it to run a bat file when i send it to another computer!!!
Axe_mann is offline   Reply With Quote
Old 06-16-2006, 02:27 PM   #5 (permalink)
Junior Techie
 
Join Date: Oct 2005
Posts: 75
Default

Go to Start>Run and type in gpedit.msc

Under Local Computer Policy > Computer Configuration > Windows Settings >Scripts
There you can set start up and shut down scripts. Dont know if that helps?
__________________
flashyflashy.net
darkninja is offline   Reply With Quote
Reply

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:48 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0