0

Right now im testing a script to start at boot up. I accomplished starting it at boot up by creating a new string value in the HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run registry. Now my question is how do I run the script so that it doesn't display the dialog box? Is there a silent switch I can use in order to do this?

2
Contributors
2
Replies
18
Views
2 Years
Discussion Span
Last Post by Tecuajlo
1

Hi

What does this script run? Is it your program that you created in VB.NET?

If it is your program then you will need to cater for a silent switch. This could be achieved by passing a command line argument which your program then reads and depending on this value will determine whether to show a dialog box or not.

HTH

0

Right now I have the following testcode running at device bootup.

Echo off
Echo Hello World
Exit

I'm in need of help with running those arguments that will run this script silently. Also after I verify that this code runs correctly and learn a bit more about the switches I will apply what I am trying to learn to a script that runs and installs Windows update without user interaction at boot up. Please help and I appreciate all the help.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.