Starting applications automagically from command shell

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...
 
S

Stas Pavlov \(eMVP\)

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
 
H

Heidi Linda

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?
 
S

Stas Pavlov \(eMVP\)

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.
 
S

Stas Pavlov \(eMVP\)

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.
 
S

Stas Pavlov \(eMVP\)

"Run" command works with any kind of shells.
But of course it starts programm not inside command shell.
 
H

Heidi Linda

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top