Re: External Tools - VS2005



Quite sure...

see http://www.wizaerd.com/ide/pics.html

On Wed, 05 Apr 2006 14:03:45 -0700, Jeff Pek (Autodesk) <jeff.pek@xxxxxxxxxxxxxxxxxxx> wrote:

In my copy of VS2005, $(ProjectDir) has only a single trailing backslash.
This has been the case in prior versions too. Are you sure there isn't some
other variable that's involved too?
- jp

"Joe" <jshebleSPAMLESS@xxxxxxxxxxx> wrote in message
news:op.s7jne50r6u8wlr@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
It's not a terminating slash that's the problem, it's double slashes.
When running the external command, in the Arguments entry filed I had
$(ProjectDir) which should point to the project's directory. However,
when explorer.exe is started, the VS2005 IDE passes the $(ProjectDir) as
"c:\someroot\somesub\anothersub\\" Notice the double slashes at the end
of the directory. Adding a dot here would accomplish nothing. As I said,
explorer.exe cannot open nor browse to a folder that is terminated with
double slashes as the VS2005 IDE passes.


On Tue, 04 Apr 2006 18:16:01 -0700, fnqbruce <fnqbruce@xxxxxxxxxxxxx>
wrote:

it works, but shouldn't have had to do it...

I agree. What about just adding a dot at the end? e.g. "C:\MyFolder\."?

Strangely, explorer.exe has no trouble with terminal slashes on my setup.
(explorer.exe version 6.0.2900.2180, Win XP Pro SP2)

"Joe" wrote:

I have gotten around it by writing a small console app that gets the
path
as a parameter, cleans it up, then starts explorer in a process... it
works, but shouldn't have had to do it...

On Tue, 04 Apr 2006 10:56:59 -0700, Joe <jshebleSPAMLESS@xxxxxxxxxxx>
wrote:

> Yes, I have tried that. The problem is the additional "\" at the end
of
> the path. Even from a CMD console window, explorer.exe will not open
> using a path with an additional "\" at the end of it... The IDE
> shouldn't be adding the additional "\"
>
> On Mon, 03 Apr 2006 18:50:01 -0700, fnqbruce <fnqbruce@xxxxxxxxxxxxx>
> wrote:
>
>> Joe,
>>
>> You've probably already tried this - put quotes around the path.
>>
>> Bruce
>>
>> "Joe" wrote:
>>
>>> In my VS2003, I have an external tool set up that openes up Explorer
>>> to a
>>> specified directory, such as the solution directory, or the project
>>> directory. It's quite easy to do and extremely useful. However it
>>> doesn't work in VS2005, and I think it's because the macros used in
the
>>> Arguments entry field (such as $(ProjectDir) append an extra "\" at
the
>>> end, thus causing iexporer.exe to fail, saying it can't find the
path.
>>> Anyone know if this can be corrected, or if it's a legitimate IDE
bug,
>>> where I can report it?
>>>
>>> Thanx!
>>>
>>> --
>>> Using Opera's revolutionary e-mail client:
http://www.opera.com/mail/
>>>
>
>
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/




--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
.



Relevant Pages

  • Re: External Tools - VS2005
    ... It's not a terminating slash that's the problem, it's double slashes. ... in the Arguments entry filed I had $(ProjectDir) which should point to the project's directory. ... explorer.exe cannot open nor browse to a folder that is terminated with double slashes as the VS2005 IDE passes. ...
    (microsoft.public.vsnet.ide)
  • Re: External Tools - VS2005
    ... $(ProjectDir) has only a single trailing backslash. ... double slashes as the VS2005 IDE passes. ... Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ...
    (microsoft.public.vsnet.ide)
  • Re: [ANNOUNCEMENT] Wiki for discussing P35/IHC9(R)/SATA issues set up
    ... what it sees as a "CD-948E/TKU/T4B" on acd0. ... Is this an IDE or SATA drive? ... Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ...
    (freebsd-current)
  • Re: Would you buy Delphi Classic?
    ... An IDE is just a programmers interface to the compiler. ... I don't see why the IDE couldn't spawn multiple compilers and frameworks, ... Using Opera's revolutionary e-mail client: http://www.opera.com/mail/. ...
    (borland.public.delphi.non-technical)
  • Re: D2006 is the fastest delphi
    ... IMHO, IDE apart, D2006 can be enhanced adding a smart pooling object to the win32 dbExpress. ... If you find areas in the IDE that you feel are slower than they should be please let me know. ... Using Opera's revolutionary e-mail client: http://www.opera.com/mail/. ...
    (borland.public.delphi.non-technical)