940 pts.
 STRPCCMD with blank in path
I am trying to start an Excel spreadsheet with a blank in the path. ex: STRPCCMD 'START K:My DocumentsGLMonthend.XLS' I've tried all sorts of QUOTE scenarios but have not hit on the right set. Thank you MIS

Software/Hardware used:
ASKED: December 11, 2008  2:21 AM
UPDATED: December 11, 2008  6:56 PM

Answer Wiki:
I believe you will need quotes around the path portion as well as the whole command string; for example: STRPCCMD 'start '''k:my documentsmonthend.xls'''' (I think you need three apostrophes to make it work as a single ' in CL/RPG). Or, you could use the 8.3 abbreviation for the folder: STRPCCMD 'start k:mydocu~1monthend.xls'. (Using the 8.3 abbreviation for part of your path will not force you to use 8.3 naming for the whole thing, so there is no reason to abbreviate 'monthend.xls', even though it is longer than 8.3.) --HTH, Koohiisan.
Last Wiki Answer Submitted:  December 11, 2008  6:56 pm  by  Koohiisan   4,990 pts.
All Answer Wiki Contributors:  Koohiisan   4,990 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

How do I find the 8.3 abbreviation of the file name?

 530 pts.