Christopher Pepper
New Member
United Kingdom
5 Posts |
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 |
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
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 |
zen is the art of being at one with the two'ness |
|
|