What is the purpose of the code? My guess is you could do what you want without using a commandline.
Forum Rules