Is there a way to simualte command line parameters instead of having to: Compile the script. Enter Windows' DOS prompt and run the script with paramerers and/or create a shortcut. every time you want to run the script (if it can't run without parameters)? $cmdlineraw can be re-assigned but it doesn't affect $cmdline, which is a non editable constant. Is there any way around it? Thanks!