Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Snippets $FILE_PATH$ without drive?

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
Christopher Pepper Posted - Feb 17 2011 : 05:00:47 AM
Hi Everyone,

I'm just wondering if its possible to have $FILE_PATH$ without the drive? Its not a huge deal for me to just delete it, but it would be nice if it could be done within snippets.

I also have a visual studios macro that does the same as the snippet but without the drive, but its really slow!

-Thanks, Chris
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Feb 17 2011 : 2:05:57 PM
Out of interest why do you want to remove the drive letter?

I am just thinking that if you need a "partial" full path then this could quickly get a little messy since how do you specify how "partial" with a simple VA Snippet token?

Have you considered writing a simple IDE macro to do a find and replace to remove the drive letter on the current line?

You might find this helpful, since it shows how I used the IDE find and replace dialog in an IDE macro:

http://support.wholetomato.com?W444

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