×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Windows right-click context menu customization

Windows right-click context menu customization

Windows right-click context menu customization

(OP)
Is anyone up on customizing the right-click context menu in windows explorer? I realize this is more of a windows question than anything else, but what I'm looking for is:

Right-click (in a folder) > new > SolidWorks part document.

Below is what I've done so far, and it will produce an unusable 0KB SLDPRT file in a folder but not a copy of my favorite "g2.SLDPRT" template. ("PRTDOT" is a template within SW, I know.)

[HKEY_CLASSES_ROOT\.sldprt\ShellNew]
"FileName"="C:\\WINDOWS\\SHELLNEW\\g2.SLDPRT"

These tricks work with MS office docs and others, you get a real file that is usable, is this even possible w/ SW files?


Thanks,

gdahll
SW 2007 SP3
ACAD 2002
 

RE: Windows right-click context menu customization

Try selecting the file holding the Ctrl button and drag. It will make a copy of your "g2.SLDPRT template".

Simply creating a file and making it a SolidWorks file.
I think it is just as easy to open the file and do a save as.

Chris
SolidWorks/PDMWorks 08 3.1
AutoCAD 08
ctopher's home (updated Aug 5, 2008)
ctopher's blog
SolidWorks Legion

RE: Windows right-click context menu customization

Whats with the double \ in your path? Maybe that is your problem?

 

RE: Windows right-click context menu customization

This will not be possible without a dll.  This is because SolidWorks has to have a template to start out a file.  If you hide all your templates, SW will create new ones for you.  These are not blank files.  If this is really that important to you, you will have to find someone to write you a Windows Explorer shell extension (I think that's the right term) to do it.

-handleman, CSWP (The new, easy test)

RE: Windows right-click context menu customization

Did you actually create a C:\WINDOWS\SHELLNEW\g2.SLDPRT?

The easiest way to do that would be to open SolidWorks and create a new part file from your g2.prtdot template, and then save it to the C:\WINDOWS\SHELLNEW folder.

I think all that registry key does is tell Windows what file to copy to the current folder and call "New Whatever".

Eric
 

RE: Windows right-click context menu customization

(OP)
The double slashes are due to right clicking "edit" on an exported reg string, I thought that was strange too. It is not that way in the actual string using regedit.

Trying with a "PRTDOT" did not work either; handleman must be correct in that this trick needs a custom dll to work. I will investigate this, I'd really like this function if it can be done.


gdahll

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources