Wouldn't the Commandline$ Function do this in the special object? Forgive me if this is a stupid answer I don't know .NET :crazy: