Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Explorer Sendto or Context convert doc to pdf same dir

28 May 2015   #1

Windows 7 Pro 64bit
Explorer Sendto or Context convert doc to pdf same dir

Want to convert doc to pdf in same dir. Would like to do this with some sort of Explorer context entry.

There are 2 free converters that I've looked at to do the "guts", but neither has the ability to store the pdf in the same folder as the source doc.

PDFCreator: comes close with context entry, but there's no way to auto select the pdf destination dir to be same as source doc's. Dealing with the adware here is a real PIA. Would buy the ad-free version if solved the folder issue.

CutePDF: Can this be put in a bat for context or SendTo? Mostly I don't know how to get the path for the source doc; the other stuff I can do.
Manually the steps are:
1- Select CutePDF Writer as default printer (I can do this with bat now)
2-Open secondary Explorer window to temp folder for CutePDF output: CutePDFTemp (same drive as source docs)
3-In primary Explorer window, navigate to source doc file
4-Context Print. Has undesirable destination popup. Leave at last used=CutePDFTemp.
5-Drag/Drop new pdf from CutePDFTemp to doc's source dir
6-repeat 3-5 as needed
7-Reselect normal default printer

If I can grab the doc's path from the context, I can do the CutePDFTemp drag/drop in the bat and the secondary Explorer window would not be needed.

My System SpecsSystem Spec
04 Jun 2015   #2

Windows 7 32 bit

I have a small utility that may be helpful in this scenario in place of using the batch file. It is called PastePath. You may download it from my page here:
Miles Ahead's Windows Downloads

All my programs are free for you to use at your own risk. The way PastePath works, is it sits in the tray, every time an Explorer window is the active window, it remembers the path. You can paste the path into anything that accepts a paste from the clipboard. As example if you right click a file in C:\docs and choose print, when it gets time to enter the destination folder just click the mouse in the box and press Control Winkey right click. C:\docs will be pasted.

See the Readme.txt file included in the zip for details.

If that doesn't fit the purpose see the explanation for file path expansion for batch on this page:

Batch Extract path and filename from a variable - Stack Overflow
My System SpecsSystem Spec

 Explorer Sendto or Context convert doc to pdf same dir

Thread Tools

Similar help and support threads
Thread Forum
Explorer - Add "Restart Explorer" to Desktop Context Menu
How to Add "Restart Explorer" to Desktop Context Menu in Windows This tutorial will show you how to add Restart Explorer to the desktop context menu in Vista, Windows 7, or Windows 8. When used by any user, it will automatically kill the explorer.exe process, and restart the explorer.exe...
Adding "SendTo" items to the explorer toolbar
The explorer toolbar is sooooooo empty and could be soooooo useful... By putting some of the "SendTo" button for exemple ;) How can i do that? Found app to add buttons but not this :( EDIT: Seems to be...
CMD from Windows Explorer Context Menu?
Hi Chaps, I had a look in the tutorials section, but can't seem to find this: Does anyone know how to enable the CMD Window from the right-click context menu in Windows Explorer? I'd like to be able to right-click on a folder, and then select "Open CMD Window" or whatever it will be...
General Discussion
Windows Explorer SendTO Limit?
I have 53 entries in my SendTO folder. When I want to send a file to this folder, not all of the entries are displayed. Is there a way to "scroll" to the end of the list?
General Discussion
Explorer Context Menu add-on...
Is there a way to put a "select all" feature in my context menu instead of having to go up to the edit menu and click on select all when a window is open?
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 18:45.
Twitter Facebook Google+