Syntax question
-
- Posts: 10
- Joined: Tue Oct 10, 2017 12:44 pm
Syntax question
I would like to use a full path to run rrwrun, which sits on the workstation, running .rrw report files that sit on a server drive. I use the syntax:____RRWRUN C:myapp
rwrun d:windows emp
rcontrol.dbf 1 /Rn:myappsrvr____I get back the following error: ____"Invalid or duplicate command line argument"____Could anyone give me an idea of what I^m doing wrong?____If I remove the /Rn:myappsrvr I get an unable to find xxxx.rrw report file.____Thanks,__Rick__
-
- Posts: 1
- Joined: Tue Oct 10, 2017 12:44 pm
=> RE: Syntax question
Hi Rick!____If your code is identical to your quote you should remove either the "RRWRUN" or the "C:myapp
rwrun" at the beginning of your command line. ____HTH____Michael.__
-
- Posts: 10
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Syntax question
Sorry about that. The code was not identical to what I wrote. I did not have two rrwruns. ____However, I did find a solution to my problem. I changed the LibDir= in the RRW.INI file to indicate the server drive/directory, and removed the /R parameter. Now rrwrun.exe runs from a specific path on the workstation and reads the .rrw files in a specific path on the server as I wanted. ____Thanks for your input.__Rick
-
- Posts: 14
- Joined: Tue Oct 10, 2017 12:44 pm
=> RE: Syntax question
I^ve had these problems with RRWRUN under WIN2K but not under WIN95/98. It seems to be related to long multi-word path names. When I shortened my subdirectory names to match DOS conventions it worked fine. I^m sure there is an explanation for this syntax difference but I got tired of messing with it!__
-
- Posts: 47
- Joined: Tue Oct 10, 2017 12:44 pm
==> RE: Syntax question
Does putting the entire command (or the individual clauses) within quotes work properly?