"invalid command line argument?"

Over the years we've worked with or supplied a variety of utilities. As questions about RattleRR, RapidRunner, PDFeXPLODE, pdfEburst, converter, librarian, data dictionary, Amyuni, etc.
Post Reply
dambros
Posts: 4
Joined: Tue Oct 10, 2017 12:44 pm

"invalid command line argument?"

Post by dambros » Fri Jan 26, 2007 11:31 am

____"invalid command line argument?"__ __ We have developed an application that works great when in development we use the executable C:Program FilesRR InfinityRSWRUN.EXE. However when we try to run the program as a user using the executable C:Program FilesReportWorks LiteRSWlite.EXE, we get an error message saying invalid or duplicate command line argument. This is how we build the command line.__^Build the Command Line for RO - ReportWriter__Dim CommandLine As String = ROExe ^Program to Run__CommandLine &= " /U" TaxConversion.Globals.User.UserID__CommandLine &= " /P" TaxConversion.Globals.User.PWD__CommandLine &= " /CS" Server.Name__CommandLine &= " /TT" ROControl ^control file name__CommandLine &= " /O" ROStatFile ^output file name____Your help will be much appreciated. Ready to deploy application except for this. Users are excited.____Much thanks.______ ____ __

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> invalid command line

Post by kfleming » Fri Jan 26, 2007 3:09 pm

The problem line is the /CS you only need to use that if you have a SQL table as your control file. In your case you are using a text file.__Also make sure that there are no spaces between the switch and the argument.____So__/O output.txt__would fail__but__/Ooutput.txt____would work.____Regards,__Kathleen__R&R Support

Post Reply