Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove"

G

Green_XP

I am running updated versions of "Trend Micro AntiVirus plus
AntiSpyware" and "Spy Sweeper" on a Gateway GT5220 (Windows XP Media
Center Edition Version 2002, Service Pack 2; aka: XP Professional
Version 5.1.2600, Service Pack 2, Build 2600). This is a 'home
computer' which makes me "Computer Administrator" according to "User
Accounts" in "Control Panel".

I used information from: http://support.microsoft.com/?kbid=272623
(which apparently does not apply to Windows XP - oops!) to experiment
with adding 'commands' to the 'pop-up' menu one gets by right-clicking
on a folder in Windows Explorer.

I added two commands to "Folder Options/Edit File Type/Actions". The
commands I added work just fine. They create text files showing a "Dir"
listing of a file folder. I created two bat.* files in the Windows
folder to do this. Now the "Edit" & "Remove" buttons are grayed-out.

The only thing I can think of that I have done since adding these
"Actions" is turning off my 'puter overnight. Any ideas?


The new "Directory Listing" action uses Dir_List.bat:

@echo off
Dir %1 /-p /o:gne > %temp%\Dir_List.txt
move %temp%\Dir_List.txt %1
Start notepad Dir_List.txt
Exit

The new "Bare Directory Listing" action uses Dir_List_Bare.bat:

@echo off
Dir %1 /-p /o:gne/b > %temp%\Dir_Bare.txt
move %temp%\Dir_Bare.txt %1
Start notepad Dir_Bare.txt
Exit
 
G

Green_XP

TA-DA! I found the answer to "Edit & Remove buttons are grayed-out" on
Ramesh Srinivasan's web page at:

http://windowsxp.mvps.org/editfolder.htm

I'm still experimenting with adding the Directory Listing commands. But
now I know how to 'undo' any commands I may add to this context menu.
 

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