Starting applications automagically from command shell

  • Thread starter Thread starter Heidi Linda
  • Start date Start date
H

Heidi Linda

I have my system happily remote-booting to a small XPe image, I just
can't get it to start anything automatically. Google indicated that
autoexec.nt was what I should be looking at, but it doesn't seem to do
anything...
 
Hi Linda

You can use FBA RunOnce Request with Flag parametr set to 0.
It creates appropriate HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
registry entry and it forces to start any needed programm every logon.

Stas Pavlov (eMVP)
Quarta Technologies
 
Stas said:
Hi Linda

You can use FBA RunOnce Request with Flag parametr set to 0.
It creates appropriate HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
registry entry and it forces to start any needed programm every logon.
....and that works in Command-shell images, does it?
 
Ups... Sorry. You need to autrun inside command prompt.

You can create you own shell with cmiShellPath like this:
%11%\cmd.exe /k %30%\my_autorun.bat

where %30%\my_autorun.bat contain all needed autorun apps.
 
Ups... Sorry. You need to autrun inside command prompt.

You can create you own shell with cmiShellPath like this:
%11%\cmd.exe /k %30%\my_autorun.bat

where %30%\my_autorun.bat contain all needed autorun apps.
 
"Run" command works with any kind of shells.
But of course it starts programm not inside command shell.
 
Stas said:
Ups... Sorry. You need to autrun inside command prompt.

You can create you own shell with cmiShellPath like this:
%11%\cmd.exe /k %30%\my_autorun.bat

where %30%\my_autorun.bat contain all needed autorun apps.
OK well all I want to do is run a single batch file. I was under the
impression that autoexec.nt should actually do something under the
command shell.
 
Back
Top