File Associations

M

Mexican George

I seem to have screwed up royally and I could sure use some help from the
experts. I am new to XP but in regard to File Associatiions I don't think
there is much, if any, difference between win98 and XP. So, I can't use
that excuse. I was trying to get a directory to print for me and was
following some instructions from the web (as below ). It worked as far as
being able to print a directory but unfortunately when I click on my picture
folders now, I get only the "search" page. The File associations for "file
folders" already had the action word "find" and then I added "print
directory". Stupid me thought that if it wasn't correct I would be able to
change it easily. No such thing I gather and I am in big trouble.

Batch File
On the root of the C: drive, create a batch file called print_directory.bat
with the following lines:

@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit

Note: dir %1 /o:g will print with any directories listed first. You can add
whatever other switches you like

Adding to the Explorer Right Click

Start the Explorer

Go to Tools / Folder Options

On the File Types tab, click File Folder.

Click Advanced button and then click New.

In the Action box, type Print Directory (or whatever text you want to
appear).

In the Application used to perform action box, type C:\print_directory.bat,
and then click OK.

Click OK, click OK, and then click Close



There was some instructions after that about the registry but I never got
that far. I sure do hope someone can tell me what to do. Thanks.
 
D

Drew Tognola

George,

Do you have 'System Restore' enabled? If so, click Start > Programs >
Accessories > System Tools > click 'System Restore'. Find the first date
highlighted on the calendar before you made the mistake. This should repair
it. Good Luck.

Drew

I seem to have screwed up royally and I could sure use some help from the
experts. I am new to XP but in regard to File Associatiions I don't think
there is much, if any, difference between win98 and XP. So, I can't use
that excuse. I was trying to get a directory to print for me and was
following some instructions from the web (as below ). It worked as far as
being able to print a directory but unfortunately when I click on my picture
folders now, I get only the "search" page. The File associations for "file
folders" already had the action word "find" and then I added "print
directory". Stupid me thought that if it wasn't correct I would be able to
change it easily. No such thing I gather and I am in big trouble.

Batch File
On the root of the C: drive, create a batch file called print_directory.bat
with the following lines:

@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit

Note: dir %1 /o:g will print with any directories listed first. You can add
whatever other switches you like

Adding to the Explorer Right Click

Start the Explorer

Go to Tools / Folder Options

On the File Types tab, click File Folder.

Click Advanced button and then click New.

In the Action box, type Print Directory (or whatever text you want to
appear).

In the Application used to perform action box, type C:\print_directory.bat,
and then click OK.

Click OK, click OK, and then click Close



There was some instructions after that about the registry but I never got
that far. I sure do hope someone can tell me what to do. Thanks.
 
M

Mexican George

Hey Drew,

It does have system restore but I have big worries there as well. I just
finished moving all my brother's photos (about 400) off his old computer and
putting them on this new one. His computer has no type of useable backup,
(CDs or zip drive, etc) and so I did it by the most archaic way you could
think of. By emailing them as attachments from my email address to his.
When it reached its size limit, it would start rejecting them of course.
Then I would have to unplug everything from his old computer and set up the
new one to be able to accept them. Bizzare!!

If I used restore would I lose his pictures? Man oh man, I could shoot
myself. We are short on money right now and that is why he (we) are
strapped that way as well.
 
M

Mexican George

Thanks for the information Mary, that is exactly me isn't it. I think I am
going to try the fix but first I am going to download the registry backup
pages. It would be fabulous if it works.
 
M

Mexican George

I am having problems with the registry file instructions now. I haven't made
a move yet but the instructions are to go to

HKEY_CLASSES_ROOT\Directory\shell

When I search for directory\shell nothing comes up. If I just put directory
in, it can bring up a few different places. The first "directory" that comes
up has only one item and the data has "Directory Class Container". Says
nothing though about shell. Can somebody help me as to what to do?
 
S

Santa

Mexican said:
I am having problems with the registry file instructions now. I haven't made
a move yet but the instructions are to go to

HKEY_CLASSES_ROOT\Directory\shell

Start REgedit

Make sure you are way up to the top and MY COMPUTER is HIGHLIGHTED
Scroll dow and see HKEY_CLASSES_ROOT


Click the + next to HKEY_CLASSES_ROOT

now Scroll Down to DIRECTORY and Click the + in front of it and you
will see SHELL
 
M

Mexican George

Ignore any of my last questions as Mary's fix did the job. I won't be doing
that again. I don have one last question but will be posting it in another
message
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top