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.
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.