Add Print DirectoryWindows Explorer
Q272623
WinMe I am trying to add the print command to right-click menue The batch files in that article is @echo off dir %1 /-p /o:gn "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit Thr error message is "Cannot open file and System cannot find the path specified" Any help is appreciated to get correct? |
Add Print DirectoryWindows Explorer
AAH,
All I can suggest is that you try again. I have just followed the instructions set out in KB272623 on a Win Me system and now have "Print Directory Listing" as a right list option on folders and it appears to be working as intended. Does the content of the text file "Prin.bat" exactly match that in KB272623? Did you use copy and paste to create Prin.bat, if not, do so. Did you place the file "Prin.bat" in the C:\Windows folder? If not, you must do this. Do you see "Print Directory Listing" as a right click option when you select a folder? Hopefully you will find that you made a simple typing error and that it now works. By the way KB272623 contains a small error. Step 5 should be as follows: 5. Click "Advanced", and then click "New" -- Mike Maltby AAH wrote: Q272623 WinMe I am trying to add the print command to right-click menue The batch files in that article is @echo off dir %1 /-p /o:gn "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit Thr error message is "Cannot open file and System cannot find the path specified" Any help is appreciated to get correct? |
Add Print DirectoryWindows Explorer
On Wed, 20 May 2009 18:03:52 +0100, "AAH" wrote:
Q272623 WinMe I am trying to add the print command to right-click menue The batch files in that article is @echo off dir %1 /-p /o:gn "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit Thr error message is "Cannot open file and System cannot find the path specified" Any help is appreciated to get correct? Where are you getting the error messages? - at the point where you right-click, or during the printing session? (it works fine here) Are you sure that you saved the Prin.BAT file to the Windows folder (NOT the System or System 32 folders!)? |
Add Print DirectoryWindows Explorer
Mike
Thanks for your help. I have sorted out now. I was not using Windows Me Notepad.exe but a freeware Winpad.exe one. I did not realised that it makes a difference. "Mike M" wrote in message ... AAH, All I can suggest is that you try again. I have just followed the instructions set out in KB272623 on a Win Me system and now have "Print Directory Listing" as a right list option on folders and it appears to be working as intended. Does the content of the text file "Prin.bat" exactly match that in KB272623? Did you use copy and paste to create Prin.bat, if not, do so. Did you place the file "Prin.bat" in the C:\Windows folder? If not, you must do this. Do you see "Print Directory Listing" as a right click option when you select a folder? Hopefully you will find that you made a simple typing error and that it now works. By the way KB272623 contains a small error. Step 5 should be as follows: 5. Click "Advanced", and then click "New" -- Mike Maltby AAH wrote: Q272623 WinMe I am trying to add the print command to right-click menue The batch files in that article is @echo off dir %1 /-p /o:gn "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit Thr error message is "Cannot open file and System cannot find the path specified" Any help is appreciated to get correct? |
Add Print DirectoryWindows Explorer
Noel
Thanks for your help. Mike Thanks for your help. I have sorted out now. I was not using Windows Me Notepad.exe but a freeware Winpad.exe one. I did not realised that it makes a difference. "Noel Paton" wrote in message ... On Wed, 20 May 2009 18:03:52 +0100, "AAH" wrote: Q272623 WinMe I am trying to add the print command to right-click menue The batch files in that article is @echo off dir %1 /-p /o:gn "%temp%\Listing" start /w notepad /p "%temp%\Listing" del "%temp%\Listing" exit Thr error message is "Cannot open file and System cannot find the path specified" Any help is appreciated to get correct? Where are you getting the error messages? - at the point where you right-click, or during the printing session? (it works fine here) Are you sure that you saved the Prin.BAT file to the Windows folder (NOT the System or System 32 folders!)? |
Add Print DirectoryWindows Explorer
AAH,
I'm pleased to read that you've now got this working. I'm not really certain why using Winpad should have caused you problems unless it saves files in RTF or similar format by default rather than as plain ASCII.. Best wishes, Mike M AAH wrote: Mike Thanks for your help. I have sorted out now. I was not using Windows Me Notepad.exe but a freeware Winpad.exe one. I did not realised that it makes a difference. |
Add Print DirectoryWindows Explorer
Mike
The problem was that - C:\Windows\Notepad.exe - was the renamed file from Win32pad.exe and so the bat file was getting stuck. When I placed back the Windows notepad.exe into Windows folder, it worked. Thanks for your help. "Mike M" wrote in message ... AAH, I'm pleased to read that you've now got this working. I'm not really certain why using Winpad should have caused you problems unless it saves files in RTF or similar format by default rather than as plain ASCII.. Best wishes, Mike M AAH wrote: Mike Thanks for your help. I have sorted out now. I was not using Windows Me Notepad.exe but a freeware Winpad.exe one. I did not realised that it makes a difference. |
All times are GMT +1. The time now is 12:10 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Win98Banter.com