Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 VC++ 6 - Open Containing Folder

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
TigerTom Posted - Jan 08 2009 : 04:46:06 AM
Hi,

(Love Visual Assist by the way, thanks, have made every employer buy for me so far!)

In VS2008 there is an option to open the "Containing Folder" of the file tab clicked on, this is very handy as often I need to go to that folder to do something (remove COM defs etc...)

In VC++ 6 there is no such option, but I was thinking that if the clever people at Whole Tomato were to add a button to the tool bar that could say open the containg folder of the active document, then there would another reason to buy Visual Assist for VC++ 6! (And would save me constantly navigating to folders!)

Thanks,
Tom.
3   L A T E S T    R E P L I E S    (Newest First)
kevinsikes Posted - Jan 17 2009 : 02:38:39 AM
Good catch. I left off a single dot for the arguments for the Explorer tool.

As I recall, there was some subtle difference between this:
Arguments: .
Initial directory: $(FileDir)

and this:
Arguments: $(FileDir)
Initial directory:

IIRC, one opens in "My Computer" view while the other opens in folder view.
hoiby Posted - Jan 16 2009 : 05:08:26 AM
On my computer (XP + Visual Studio 6)
It works only with $(FileDir) as Arguments :
Name: Open Containing Folder
Command: explorer.exe
Arguments: $(FileDir)
Initial directory:


kevinsikes Posted - Jan 08 2009 : 1:05:59 PM
Hi Tom,

You can do this by adding a custom tool in VC6. Go to Tools|Customize|Tools and add a new entry with these attributes:
Name: Open Containing Folder
Command: explorer.exe
Arguments:
Initial directory: $(FileDir)

Now take note of the position this new tool occupies in the list. It is usually position 7 or 8 if it's the first custom tool you've added. Now go to the Commands tab of Tools|Customize and select Tools in the Category dropdown. Find the tool icon with the appropriate position number and drag it to a toolbar. Pressing this button will invoke your command. You can further customize the button by changing the appearance (for instance, you can open explorer.exe as resources, find the icons, copy a 16x16 icon, and paste it onto the toolbar button.)

Another useful tool:
Name: Command Prompt Here
Command: cmd.exe
Arguments:
Initial directory: $(FileDir)
Make sure Close window on exiting is checked.


© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000