invalid command line argument?

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
dambros
Posts: 4
Joined: Tue Oct 10, 2017 12:44 pm

invalid command line argument?

Post by dambros » Thu Jan 25, 2007 5:57 pm

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

=> RE: invalid command line argument?

Post by kfleming » Fri Jan 26, 2007 3:10 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