Skip to main content

C$SYSTEM

  • Mar 17, 2021 6:02 PM UTC
  • 3 replies
  • 17 views

I am using C$SYSTEM to call the Adobe reader. Can the filename NOT have any spaces in it?

This works fine.

C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe D:\\PFIPRD\\FORMATS\\FormsandFonts.pdf

This does not. (Space after Formsand )

C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe

D:\\PFIPRD\\FORMATS\\Formsand Fonts.pdf

 

3 replies

Kim Hendriksen
Forum|alt.badge.img
  • Participating Frequently
  • Mar 17, 2021 6:07 PM UTC

I am using C$SYSTEM to call the Adobe reader. Can the filename NOT have any spaces in it?

This works fine.

C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe D:\\PFIPRD\\FORMATS\\FormsandFonts.pdf

This does not. (Space after Formsand )

C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe

D:\\PFIPRD\\FORMATS\\Formsand Fonts.pdf

 

You have to use " " around the filename. Fx.
C:\\Users\\krh2>"C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe" "C:\\Users\\krh2\\Desktop\\DK-826208438 spec.pdf"
works for me.
/Kim

  • Mar 17, 2021 10:08 PM UTC
You have to use " " around the filename. Fx.
C:\\Users\\krh2>"C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe" "C:\\Users\\krh2\\Desktop\\DK-826208438 spec.pdf"
works for me.
/Kim

Does not like using multiple quotes.

Here is my statement.

MOVE "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe D:\\PFIPRD\\Forms and Fonts.PDF" to PDF-CALL.

If I add in a quote after .exe and then before the D:\\ errors out.

 

 

 


  • Mar 17, 2021 10:21 PM UTC

Does not like using multiple quotes.

Here is my statement.

MOVE "C:\\Program Files (x86)\\Adobe\\Acrobat Reader DC\\Reader\\AcroRd32.exe D:\\PFIPRD\\Forms and Fonts.PDF" to PDF-CALL.

If I add in a quote after .exe and then before the D:\\ errors out.

 

 

 

I tried via a command Prompt and no luck using the Quotes around it.