|
I have searched the internet for the answer but I think I may havefine
reached the end of the internet without finding the answer
I am using STRPCCMD to display a file in the IFS
STRPCCMD PCCMD(' "\\192.168.9.999\EFILE\Rock Roll.PDF" ') Works
with a space between Rock Rollthe
I know that I have to enclose the path within double quotes since
PDF file name contains a spacefine
STRPCCMD PCCMD(' "\\192.168.9.999\EFILE\Rock^&Roll.PDF" ') Works
with an ampersand preceded by caret to display Rock&Roll.PDFto
I know that the ampersand will cause STRPCCMD to think I am trying
execute two commands so I need to precede the & with a caret ^my
My trouble is when I want both a space and an ampersand between Rock
and Roll Example: Rock & Roll.PDF
STRPCCMD PCCMD(' "\\192.168.9.999\EFILE\Rock ^& Roll.PDF" ') Does
not work "\\192.1685.9.999\EFILE\Rock is not recognized as a command
What would the correct formatting be for having a space and an
ampersand in the file name?
I do not want to use the rundll32 method as it takes up too many of
limited 123 characters constraintvariables
I have been executing this from a command line, I wanted to get this
working on the command line before putting it into CL using
and concatenations etc.
Anybody know how I can do this?
STRPCCMD PCCMD(' "\\192.168.9.999\EFILE\Rock ^& Roll.PDF" ')
Thanks
John
John
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.