Chances are the correct 8.3 filename you're looking for is Acroba~2, but
why are you using the old 8.3 filenames?

If you're just worried about spaces, try putting quotes in the command
you're sending to the system, like this:

system("\"C:\\Program Files\\Adobe\\Acrobat 7.0\\Reader\\AcroRd32.exe\"
C:\\PDFs\\test.pdf");



-----Original Message-----
From: Daniel Kasak [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 09, 2005 3:32 PM
To: beginners@perl.org
Subject: Execute application with a space in it's path

[Tim Johnson] <snip>

I can get to the 'Adobe' folder with the commands ( from the command 
prompt ):

c:
cd c:\Progra~1\Adobe

However I can't get into the 'Acrobat 7.0' folder in the same way, ie:

c:
cd c:\Progra~1\Adobe\Acroba~1

[Tim Johnson] <snip>

My code was going to be:

system("C:\\Progra~1\\Adobe\\Acroba~1\\Reader\\AcroRd32 
C:\\PDFs\\test.pdf");

[Tim Johnson] <snip>

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to