Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 21-05-2008, 04:04 PM   #1 (permalink)
Right Off the Assembly Line
 
Join Date: Apr 2008
Posts: 5
Default startup file


is there any way to create any file which on being run puts a particular file in the startup programmes?
rahul_bhageria is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 21-05-2008, 05:43 PM   #2 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: startup file

Yes there is. You have to program it yourself. If its okay, I can tell you how. You have to write the particular file's path into the registry, in the startup key.
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
Old 21-05-2008, 06:53 PM   #3 (permalink)
In The Zone
 
hansraj's Avatar
 
Join Date: Sep 2004
Location: Pune
Posts: 436
Default Re: startup file

@dheeraj
i think he wants to make a file, which when run, will copy the specified files to a specified location.

@rahul
open notepad and type the following text

@echo off
copy E:\Common\Documents\trial.exe C:\docume~1\alluse~1\startm~1\programs\startup\

and now save this text file as *.bat instead of *.txt where * is whatever filename u want to keep. Here in this example i have given a command for copying a file from E:\Common\Documents\ whose name is trial.exe. U can replace this line with the location whichever u desire and the corresponding file name.
__________________
"An eye for an eye leaves the world blind." - Gandhi

Athlon II X 4 620 Quad Core, Gigabyte GA-MA 785 GPMT, G-Skill DDR3 1333 Mhz 2GB X 2, Seagate 1 TB + Seagate 80 GB, Win 7 Ultimate 64 Bit
hansraj is offline  
Old 22-05-2008, 01:39 AM   #4 (permalink)
Coming back to life ..
 
it_waaznt_me's Avatar
 
Join Date: Nov 2003
Location: A bit closer to heaven
Posts: 1,997
Default Re: startup file

Or you can create a registry file with contents like this :

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"YourProgramName"="YourProgramPath"
For Example :

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"IpMessenger"="C:\\Proggies\\ipmsg.exe"
Notice there are double slashes in program path. You can save this file as say AddProggy.reg . Whenever the user runs this file, an autorun entry will be created if its not present already.

^^ Hansraj's method is good though it involves copying the exe file to the Startup folder which could create problem if the program needs dependency files to be present in the folder it runs from.
__________________
Sleight of hand and twist of fate...
On a bed of nails she makes me wait...
And I wait without you ...
With or without you ..
----
Batty = Too Busy Now !!!
it_waaznt_me is offline  
Old 22-05-2008, 02:04 AM   #5 (permalink)
Google Bot
 
Pathik's Avatar
 
Join Date: Aug 2005
Posts: 9,772
Default Re: startup file

In that case, he can copy a shortcut of the exe in the Startup folder.
But yea, the registry method is the best.
__________________
My new blog: www.pathikshah.com
Pathik is offline  
Old 22-05-2008, 07:51 PM   #6 (permalink)
Legen-wait for it-dary!
 
dheeraj_kumar's Avatar
 
Join Date: Dec 2004
Location: Chennai
Posts: 2,471
Default Re: startup file

Oh, yeah hansraj simpler stuff, and it_waaznt_me's method is good too, sorry guys tried to complicate things
__________________
If the Start Windows Restart when Windows starts check box is checked Windows Restart will start automatically every time Windows is started. - Actual excerpt from a windows program help file
dheeraj_kumar is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
How to add a .exe file in the startup? Anindya QnA (read only) 2 14-11-2006 01:02 AM
Startup Only amitgg QnA (read only) 1 01-03-2006 12:01 PM
DOS on Startup Apollo QnA (read only) 5 13-12-2005 12:14 PM
avg startup karthik316_2003 QnA (read only) 8 24-05-2005 10:03 PM

 
Latest Threads
- by clmlbx
- by ico
- by clinton
- by icebags
- by Charan

Advertisement




All times are GMT +5.5. The time now is 01:08 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2