New action in file folder

K

Ken Poberezny

Hi,
I added a new RMB function in file folder which was supposed to purge
the picked folder of duplicate named files [something particular to pro-
engineer cad]. This does not work so I want to take this commannd out
before starting again. Under 'file options'/'file types'/'file
folder'\advanced the edit and remove options are greyed out. How do I
delete this?
thanks
 
T

Tim Meddick

If the options to edit a filetype in 'Folder Options' > 'File Types'
(including folders) is 'greyed out' then it's due to a registry setting
for that file type.

Edit the registry entry directly by typing "Regedit.exe" in the "Run"
box on the 'Start Menu' and navigating to the reg key :

HKEY_CLASSES_ROOT\Folder\Shell

Or :

HKEY_CLASSES_ROOT\Directory\Shell

...and under one of these keys will be your entry for your Folder menu
entry.

However, if you feel happier editing these in the 'File Types' list,
execute the following two commands and you will be able to use the
'Edit' button in 'Folder Options' > 'File Types'



reg DELETE HKCR\Folder /v EditFlags /f


reg DELETE HKCR\Directory /v EditFlags /f



*Note - Please exercise care when editing the registry, always create a
backup and / or create a 'System Restore' point first.

==

Cheers, Tim Meddick, Peckham, London. :)
 
K

Ken Poberezny

If the options to edit a filetype in 'Folder Options' > 'File Types'
(including folders) is 'greyed out' then it's due to a registry setting
for that file type.

Edit the registry entry directly by typing "Regedit.exe" in the "Run"
box on the 'Start Menu' and navigating to the reg key :

HKEY_CLASSES_ROOT\Folder\Shell

Or :

HKEY_CLASSES_ROOT\Directory\Shell

..and under one of these keys will be your entry for your Folder menu
entry.

However, if you feel happier editing these in the 'File Types' list,
execute the following two commands and you will be able to use the
'Edit' button in 'Folder Options' > 'File Types'



reg DELETE HKCR\Folder /v EditFlags /f
thanks all
reg DELETE HKCR\Directory /v EditFlags /f



*Note - Please exercise care when editing the registry, always create a
backup and / or create a 'System Restore' point first.

==

Cheers, Tim Meddick, Peckham, London. :)




Ken Poberezny said:
Hi,
I added a new RMB function in file folder which was supposed to purge
the picked folder of duplicate named files [something particular to
pro-
engineer cad]. This does not work so I want to take this commannd out
before starting again. Under 'file options'/'file types'/'file
folder'\advanced the edit and remove options are greyed out. How do I
delete this?
thanks
 
T

Tim Meddick

Ken,
does that mean you have sorted it???
==

Cheers, Tim Meddick, Peckham, London. :)




Ken Poberezny said:
(e-mail address removed)
says...
If the options to edit a filetype in 'Folder Options' > 'File Types'
(including folders) is 'greyed out' then it's due to a registry
setting
for that file type.

Edit the registry entry directly by typing "Regedit.exe" in the "Run"
box on the 'Start Menu' and navigating to the reg key :

HKEY_CLASSES_ROOT\Folder\Shell

Or :

HKEY_CLASSES_ROOT\Directory\Shell

..and under one of these keys will be your entry for your Folder menu
entry.

However, if you feel happier editing these in the 'File Types' list,
execute the following two commands and you will be able to use the
'Edit' button in 'Folder Options' > 'File Types'



reg DELETE HKCR\Folder /v EditFlags /f
thanks all
reg DELETE HKCR\Directory /v EditFlags /f



*Note - Please exercise care when editing the registry, always
create a
backup and / or create a 'System Restore' point first.

==

Cheers, Tim Meddick, Peckham, London. :)




Ken Poberezny said:
Hi,
I added a new RMB function in file folder which was supposed to
purge
the picked folder of duplicate named files [something particular to
pro-
engineer cad]. This does not work so I want to take this commannd
out
before starting again. Under 'file options'/'file types'/'file
folder'\advanced the edit and remove options are greyed out. How
do I
delete this?
thanks
 
K

Ken Poberezny

Tim,

Yes and no!

Yes, in that I've got an answer to delete an unwanted command in RMB.

I wanted the RMB to do something that didn't work and wanted to delete
the first work before going on but decided to sort out the batch file
that was running the RMB command, perhaps you have an answer to this.

The batch file is this:

CD "%1 %2 %3 %4 %5 %6 %7 %8 %9
C:\Program Files\proeWildfire 4.0\bin\purge.batCD "%1 %2 %3 %4 %5 %6 %7
%8 %9
C:\Program Files\proeWildfire 4.0\bin\purge.bat

this called for a sub batch given with it's full path

but when I changed it to

CD "%1 %2 %3 %4 %5 %6 %7 %8 %9
purge.bat

it worked!!

Why does giving the full path not work?
So how does the first bat call purge.bat when it's located in a path
that dos cannot be aware of?

thanks
 
T

Tim Meddick

I can't pretend to know all that you are saying but one thing I can tell
you is you do not need to :

CD %1 %2 %3 %4 %5 %6 %7 %8 %9

....when you can just have :

CD %*

(the *asterisk represents any and all parameters)

Also, the CD command does not need quotes (about the only command that
doesn't when working with long filenames that include spaces).

So that :

CD C:\Documents and Settings

....works! (*In XP when 'Command Extensions' are enable - which they are
by default)

I assumed RMB meant [right-click menu something] ???

==

Cheers, Tim Meddick, Peckham, London. :)
 
K

Ken Poberezny

I'm not sure what I'm doing either, but now that it works it's best
left.
thanks

I can't pretend to know all that you are saying but one thing I can tell
you is you do not need to :

CD %1 %2 %3 %4 %5 %6 %7 %8 %9

...when you can just have :

CD %*

(the *asterisk represents any and all parameters)

Also, the CD command does not need quotes (about the only command that
doesn't when working with long filenames that include spaces).

So that :

CD C:\Documents and Settings

...works! (*In XP when 'Command Extensions' are enable - which they are
by default)

I assumed RMB meant [right-click menu something] ???

==

Cheers, Tim Meddick, Peckham, London. :)




Ken Poberezny said:
Tim,

Yes and no!

Yes, in that I've got an answer to delete an unwanted command in RMB.

I wanted the RMB to do something that didn't work and wanted to delete
the first work before going on but decided to sort out the batch file
that was running the RMB command, perhaps you have an answer to this.

The batch file is this:

CD "%1 %2 %3 %4 %5 %6 %7 %8 %9
C:\Program Files\proeWildfire 4.0\bin\purge.batCD "%1 %2 %3 %4 %5 %6
%7
%8 %9
C:\Program Files\proeWildfire 4.0\bin\purge.bat
 

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