Re: How to find path for windows folder?
From: jk (jk_at_discussions.microsoft.com)
Date: 03/22/05
- Next message: JackRabbit: "Book question."
- Previous message: Teemu Keiski: "Re: how to close sqlconnection"
- In reply to: Peter Rilling: "Re: How to find path for windows folder?"
- Next in thread: Job Lot: "Re: How to find path for windows folder?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 22 Mar 2005 06:51:03 -0800
Then get it from registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion | SystemRoot
"Peter Rilling" wrote:
> 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.
> > >
> > >
> > >
>
>
>
- Next message: JackRabbit: "Book question."
- Previous message: Teemu Keiski: "Re: how to close sqlconnection"
- In reply to: Peter Rilling: "Re: How to find path for windows folder?"
- Next in thread: Job Lot: "Re: How to find path for windows folder?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|