igorm 0 Posted October 12, 2007 My script is very simple. It have just this : ShellExecuteWait ('setup.exe',) But this script will execute program installation With that installation I can use parameters. So my question is, how should I modify this script so it can read what user inputed as parameter? I need to get this work without GUI. For example user may run this script from Start -> Run or from Command Prompt. I hope that you understand what's my question and that you can help me. Thx in advance for help. Cheers Office 2000/XP/2003/2007 Slipstreamer Share this post Link to post Share on other sites
Xenobiologist 47 Posted October 12, 2007 Hi, did you have a look at $cmdline[0]? So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Share this post Link to post Share on other sites
igorm 0 Posted October 12, 2007 (edited) Thanks, I figured it out. Cheers Edited October 12, 2007 by igorm Office 2000/XP/2003/2007 Slipstreamer Share this post Link to post Share on other sites