A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Customizing Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Folders Open Incorrectly After Enabling Print Directory



 
 
Thread Tools Display Modes
  #1  
Old January 19th 04, 03:02 PM
James
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

I followed the instructions in the Help Center for adding
the command to print a directory to the Folder Options.

This involved typing some script into WordPad and saving
the file as prin.bat in the Windows folder.

This worked, allowing me to print the contents of a
folder. However, after setting this up, every folder now
insists on opening in its own window, rather than opening
in the existing window. This persists despite Folder
Options being set to always open in the same window.

I tried removing the prin.bat file, but this did not
correct the problem.

Any ideas? Thanks.
Ads
  #2  
Old January 20th 04, 02:42 AM
Ramesh [MVP]
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

James,

See if registering shell32 helps. Type "regsvr32 /i shell32" in the Run =
box.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"James" wrote in message =
...
I followed the instructions in the Help Center for adding=20
the command to print a directory to the Folder Options.

This involved typing some script into WordPad and saving=20
the file as prin.bat in the Windows folder.

This worked, allowing me to print the contents of a=20
folder. However, after setting this up, every folder now=20
insists on opening in its own window, rather than opening=20
in the existing window. This persists despite Folder=20
Options being set to always open in the same window.

I tried removing the prin.bat file, but this did not=20
correct the problem.

Any ideas? Thanks.
  #3  
Old January 20th 04, 12:22 PM
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat
thing back in place now so I can print the contents of a
folder, or will that just cause the problem to come back?

Thanks again,

James
  #4  
Old January 21st 04, 03:02 AM
Ramesh [MVP]
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James
  #5  
Old January 21st 04, 12:22 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #6  
Old January 21st 04, 12:23 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #7  
Old January 21st 04, 10:53 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #8  
Old January 21st 04, 10:53 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #9  
Old January 21st 04, 10:54 PM
Ramesh [MVP]
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #10  
Old January 21st 04, 10:54 PM
Ramesh [MVP]
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #11  
Old January 21st 04, 10:54 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

It was actually directed at James.

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James


  #12  
Old January 21st 04, 10:54 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

It was actually directed at James.

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James


  #13  
Old January 21st 04, 11:26 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #14  
Old January 21st 04, 11:26 PM
Ramesh [MVP]
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James

  #15  
Old January 21st 04, 11:27 PM
David Candy
external usenet poster
 
Posts: n/a
Default Folders Open Incorrectly After Enabling Print Directory

It was actually directed at James.

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
David,=20

The entry is there I believe. But the OP has removed the file alone. =
Thanks for the information.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


"David Candy" wrote in message =
...
But you'll need to run the fix after adding the additional command. The =
problem is caused by a bug in the dialog box where you are adding the =
command. If you do anything here you need to run the fix afterwards - =
the dialog thinks it an older version of Windows and adds the correct =
info for that older version.

It's to do with how objects inheirit verbs. Older versions had to have =
nothing in a particular place while XP needs the word "none". =
Directories (aka File Folders) inheirit the Open and Explore commands =
from Folders. By not having the word "none" as the default command it =
falls back on newer ways of determining which verb is the default.=20

--=20
----------------------------------------------------------
http://www.g2mil.com/Dec2003.htm
"Ramesh [MVP]" wrote in message =
...
James,

That won't cause the problem. Put the file back if you want.

--=20
Ramesh - Microsoft MVP
http://www.mvps.org/sramesh2k
-------------------------------------------
Prevent Spyware from being installed:=20
http://www.mvps.org/sramesh2k/Malware_Defence.htm

Prevent malware from being installed - Part 2:
http://www.mvps.org/sramesh2k/Malwar...ce_Example.htm
-------------------------------------------


wrote in message =
...
Ramish! That fixed it! Thank you very much!

So do you think it's okay for me to put the prin.bat=20
thing back in place now so I can print the contents of a=20
folder, or will that just cause the problem to come back?

Thanks again,

James


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 10:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.