You must be registered to post a reply. Click here to register.
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: