PC Review


Reply
Thread Tools Rate Thread

Broken links when starting viewer from batch file

 
 
Rene
Guest
Posts: n/a
 
      14th Jul 2003
Hi experts!

I know this has probably been discussed a zillion times, but I can't
get it to work.

Here's the problem:
I'm creating a PPT that is viewed with the PPT-viewer and is started
from a batch file. Everything (!) is included in the same directory...
just to be sure. Now I want to link a pdf file from my ppt. YES! I am
using relative path names... in other words the link is mearly
"filename.pdf"

Everything works great when I start the viewer and open the PPT (or
PPS). However I start the viewer from a batch file, the links are
broken.

Can somebody help me, please?

Thanks!

Rene
 
Reply With Quote
 
 
 
 
Steve Rindsberg
Guest
Posts: n/a
 
      15th Jul 2003
> 3) MOST Importantly: I think I've gotten it to work!
> The solution is pretty simple. I had all my PPT and PDF files in the
> same directory as the ppview32.exe (see batch file).
> If I move these files to a subdirectory and start the bloody viewer
> with:
> ppview32.exe "subdirectory/test.ppt"
> it works!


VERY good work indeed. Thanks!

It's possible, then, that if the viewer is pointed at a PPT in the same
directory as itself, it doesn't change the current directory, which leaves
it pointed at ???

Whereas if you force it to open a PPT in a different directory, it sets the
current directory to match.




> It seems that the viewer will not take the directory that the
> ppview32.exe is in automatically as the "current" directory. However,
> if you start a PPT in a subdirectory it will... at least that's my
> interpretation. Let me know what you think!
>
> Rene



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting access in batch file =?Utf-8?B?UmRlbm5pc2M=?= Microsoft Access 8 23rd May 2006 12:25 AM
Starting access in batch file =?Utf-8?B?UmRlbm5pc2M=?= Microsoft Access 0 22nd May 2006 05:41 PM
Starting Programs with a Batch File joshoberg@gmail.com Windows XP General 4 6th Nov 2005 09:02 PM
starting apps in batch file John Gennaro Microsoft Windows 2000 CMD Promt 4 15th Oct 2003 10:00 PM
Broken links when starting viewer from batch file - back to square one! Rene Microsoft Powerpoint 2 28th Jul 2003 09:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:37 AM.