Re: How to find path for windows folder?

From: Peter Rilling (peter_at_nospam.rilling.net)
Date: 03/22/05


Date: Tue, 22 Mar 2005 03:58:36 -0800

By "navigate" I simply mean that once you have the path to the system
folder, you could then remove the right most folder to get the path to the
Windows folder, either by direct string manipulation of the path, or using
the Path class. This assumes that the system folder is under the Windows
folder, which I never seen it otherwise.

"Job Lot" <JobLot@discussions.microsoft.com> wrote in message
news:E906D550-9837-4A5E-BEAA-D4A30FA29A3C@microsoft.com...
> Peter Rilling
>
> How can i navigate one folder up?
>
> "Peter Rilling" wrote:
>
> > Could you get the path for the "system" folder, then navigate one folder
up?
> >
> > "Job Lot" <JobLot@discussions.microsoft.com> wrote in message
> > news:8031F88B-8961-4377-93ED-F2ACD2F1ED01@microsoft.com...
> > > How can I find path of windows folder using vb.net? It could be winnt
or
> > > windows depending upon the os.
> > >
> > > System.Environment.SpecialFolder enumeration does not have a constant
for
> > > windows folder.
> >
> >
> >



Relevant Pages