|
Boost Users : |
Subject: Re: [Boost-users] Fwd: Boost::Filesystem - How to iterate, through the whole drive
From: Richard Závodný (zavodnyrichard_at_[hidden])
Date: 2018-11-20 15:43:49
Thank you, it makes sense now. :)
On 11/20/2018 2:46 PM, degski wrote:
> On Tue, 20 Nov 2018 at 15:16, Richard Závodný via Boost-users
> <boost-users_at_[hidden] <mailto:boost-users_at_[hidden]>> wrote:
>
> Thank you, looks like you were right. I ran it outside Visual
> Studio with admin rights, but when I ran it in Visual Studio
> developer console (also with admin rights) before (when I tried to
> solve it with degski), I couldn't manage to make it work. Right
> now it looks like problem is solved, but it is weird it needs
> administrator rights, as I can iterate subdirectory on that
> specific drive (E:) without them. Weird. Thank you both for your
> time. :)
>
>
> Got it now! Win10 is particularly picky about running stuff [or
> changing/deleting files] in the root of drives [less so about doing
> the same thing in folders], and always asks for elevated privileges
> [even though it shouldn't, as I've turned that off in UAC].
>
> I can run the [any] program simply from within the IDE. I now realized
> that I [always] run VS20XX with elevated rights [through a short-cut],
> so that this problem does not show up [I must have run into this
> already (long time ago), I guess].
>
> You can change the elevation of the short-cut [and therefor the
> program] by right-clicking the shortcut, Properties -> Shortcut ->
> Advanced (button), tick the box "Run as administrator" -> OK. This way
> it will simply run from the IDE and you'll be able to debug as well.
>
> degski
> --
> /*/*â*/If something cannot go on forever, it will stop" - Herbert Stein*/
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net