Hi,
I have a program (or exe file) which I want to load every time I start my computer and login. Can anyone please tell me how to do this.
Thanks
8 1944 epots9 1,351
Recognized Expert Top Contributor
Create a new Scheduled Task, with the wizard set it so it runs everytime you login.
Thanks for the reply but I want to know if there is any other way to do it?
epots9 1,351
Recognized Expert Top Contributor
try making a registry entry at:
HKEY_LOCAL_MACH INE\SOFTWARE\Mi crosoft\Windows \CurrentVersion \Run
create a new key string, name it what you want
double click the key
enter the path to the exe in the data field
I used this article to make a program automatically run at startup at my last co-op using the MMC console. It worked great, something you might try. Not sure if you can get the program to login as well though.
-PunchBack
which article you are referring to?
you could write a batch and put that in the startup folder,
C:\Documents and Settings\All Users\Start Menu\Programs\S tartup
that way the batch will be executed when you log-in. You could also specify what user if you replace All Users with a specific user. That way the batch won't be run everytime anyone logs on, but just when a specific user logs on.
I'm not much of a programmer, but i think something like this should work: -
@ECHO OFF
-
<path\file.exe>
-
EXIT
-
or -
@ECHO OFF
-
START <path\file.exe>
-
EXIT
-
and then save it in the startup folder as <somename>.ba t the .bat has to be at the end.
Instead of putting the path of file in a batch file and putting it in startup folder, you can also put the path of file you wanna run in AUTOEXEC.bat file in root partition marked bootable on Hard disk.
_______________ _______________ _______________ _______________ _____
Hope this helps
Instead of putting the path of file in a batch file and putting it in startup folder, you can also put the path of file you wanna run in AUTOEXEC.bat file in root partition marked bootable on Hard disk.
_______________ _______________ _______________ _______________ _____
Hope this helps
You can always (win xp/98) go into the start directory and create a shortcut to the program.
Ex: program located at c:\mystuff\p1.e xe
Then, go to the startup directory (as an example)
C:\Documents and Settings\Owner\ Start Menu\Programs\S tartup
Right-click and create a shortcut -
Name it whatever you want and put the location as listed for the p1.exe but substitute your directory and file name.
Hope it's helpful!
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: GTi |
last post by:
I have small program that always must be running when a user is logged on.
Since users can close this program I must create a program that always check
if this program is running.
So I created a program in C# (my first!!) and it works with one major
problem.
This program detects when the desktop program is not running and starts it
again. All works as expected
BUT
The desktop program is running as a SYSTEM user.
That is not what I...
|
by: MAL |
last post by:
Hello,
I have 2 classes that work great as a windows app to retrieve and
process data from an Oracle9i db. When I implement them in a Service
program running as Local System, it fails on the .open. I am using
OLEDB for Oracle 9.2.0.4. I have verified the Oracle Client install,
Local Sys' path variable, and followed MSKB article 259959(Debugging
connectivity issues w/ Oracle).
Here is the error:
|
by: tele-commuter |
last post by:
Hi folks,
I want to understand how exactly is an image(compiled
c code and loaded into memory) stored in memory.
What exactly is a linker script?
I work with a lot of c code on a daily basis but I really
don't understand :
|
by: UJ |
last post by:
Is there any way for a windows service to start a windows program ? I have a
service that will need to restart a windows app if it needs to.
TIA - Jeff.
|
by: iwdu15 |
last post by:
hi, how can i get my program to start on every boot of the computer?
--
-iwdu15
| |
by: Anup |
last post by:
Hi All,
I have a web services(like Map point 2004) which has to be manually started
on rebooting.
Can a windows based Service(c#) be created which automatically starts a web
service.?
If so how can it be done.
Plz do reply,
anup kamat
|
by: holysmokes99 |
last post by:
I am developing a component in .Net 1.1, and want to debug it using the
"start external program" of the debugger in the IDE. The program I want
to start references both 1.1 and 2.0 components. The problem is that
when I launch this from VS2003, the external program starts only for a
moment and then bails out of memory
with no error, and the ide returns to a stopped state awaiting my
input. If I remove the 2.0 framework, at least the...
|
by: carson |
last post by:
I have written two windows services:
- service A does some crunching of local data files and uploads them to
a central processing computer via http.
- service B monitors a manifest file on a webserver to see if service A
needs to be updated.
What service B does if it sees their is an update for service A is to
download a new copy of the service A executable, stop service A,
replace the executable with the new copy, and start service B...
|
by: ktg024 |
last post by:
I want to wish the user according to the time when the system bootups .
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |