Jump to content

Recommended Posts

Posted

The scenario I work is :

Step 1: Install a software.

Step 2: Reboot machine.

Step 3: Run korn shell,and execute a command automatically.

Now I can use AutoIT to Install software automatically, but How can I run Korn shell automatically after reboot, for auto logon ,I have resolved.

Thanks in advance!

Tim

Posted

The scenario I work is :

Step 1: Install a software.

Step 2: Reboot machine.

Step 3: Run korn shell,and execute a command automatically.

Now I can use AutoIT to Install software automatically, but How can I run Korn shell automatically after reboot, for auto logon ,I have resolved.

Thanks in advance!

Tim

Welcome to the forums...

Replace C:\MyShell\Korn.exe with teh location of your shell application.

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Winlogon","REG_SZ","C:\MyShell\Korn.exe")

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...