KennyB
07-20-03, 18:08
| Hello fellow DBers, I haven't played with Paradox 4.5 in years but I have some clients that have upgraded their networks and PCs and are forceing the issue of UNC printer path names. I'm aware on how to use LPT mapping to print to UNC printer names, but I have more than 15 printers that need to be printed to and as far as I know, there's only 3 LPT ports that you can map. My code will look at certain field values and determine which one to print to and generate code to pass to a RUN command. My problems occur when I shell out with the "RUN" command and try to copy a text file (already generated) to a UNC path name. I get no errors, but it's not working. Here's an example: runcmd = "copy c:\\privdir\\report.txt \"\\\\servername\\share name\"" RUN NOREFRESH runcmd It appears to parse correctly by viewing the runcmd variable, but is not working.... ANY IDEAS???? Thanks Kenny Boggs |