cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

How to add purge.bat to the right-click in Windows 7

lococnc
1-Newbie

How to add purge.bat to the right-click in Windows 7

Since no one posted a solution I trudged thru it, here it is, should work in XP as well.

Copy the following text to a text file.
Then rename the file to "right-click_purge.reg" (Remove "s)

Begin Copy BELOW This Line ------
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Folder\shell\purgeproe]
@="Purge Pro/E Files"

[HKEY_CLASSES_ROOT\Folder\shell\purgeproe\Command]
@="cmd.exe /c cd %1 & \"c:\\ptc\\proeWildfire 5.0\\bin\\purge.bat\"
Stop Copy ABOVE This Line -------

You may have to change the path in the last line to suit your Pro/E install.
Once you have the file created, double click it to add info to your registry.

I TAKE NO RESPONSIBILITY FOR YOU KILLING YOUR COMPUTER IF YOU DON'T KNOW WHAT YOU ARE DOING! Backup your registry before doing this.
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

Hi Mike,

Sorry never saw the post before but here is how we do it for XP

See attached rar file which has the attached pdf and .bat file.

Regards,

Rory
Top Tags