where exactly is %system% defined?


Go Back   Computer Help Articles > Windows XP Setup Deployment
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2006, 06:09 AM
Mike W
 
Posts: n/a
Default where exactly is %system% defined?

I have a utility that performs some windows customizations to
install/configure XP for an old dos-based program.
After running the tool, references to %system& in the path environmental
variable seem to be nullified. For example if I go to cmd and type 'edit' I
get an error that reads 'edit' is not a recognized internal/external
command....If I go into the path variable and change all instances of
%system% to c:\windows\ this resolves the issue. So, where is %system%
defined?

Thanks,
m


Reply With Quote
  #2  
Old 01-05-2006, 06:09 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: where exactly is %system% defined?


"Mike W" <thewittmer@yahoo.com> wrote in message
news:wKNbf.54299$5e4.26018@tornado.texas.rr.com...
> I have a utility that performs some windows customizations to
> install/configure XP for an old dos-based program.
> After running the tool, references to %system& in the path environmental
> variable seem to be nullified. For example if I go to cmd and type 'edit'

I
> get an error that reads 'edit' is not a recognized internal/external
> command....If I go into the path variable and change all instances of
> %system% to c:\windows\ this resolves the issue. So, where is %system%
> defined?
>
> Thanks,
> m
>
>


%system% is not a preset environmental variable in WinXP.
Maybe someone changed your %path% definition.


Reply With Quote
  #3  
Old 01-05-2006, 06:09 AM
Mike W
 
Posts: n/a
Default Re: where exactly is %system% defined?

Actually I made a mistake. I meant %SystemRoot% instead of %System%

System root is in the path statement for the following locations:
%SystemRoot%
%SystemRoot%\System32
%SystemRoot%\System32\WBEM

I have to manually change these to:
c:\Windows
c:\Windows\system32
c:\windows\system32\WBEM

in order to correct the issue. Where is %SystemRoot% defined in Windows XP?


"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:%23o71g294FHA.2040@TK2MSFTNGP14.phx.gbl...
>
> "Mike W" <thewittmer@yahoo.com> wrote in message
> news:wKNbf.54299$5e4.26018@tornado.texas.rr.com...
>> I have a utility that performs some windows customizations to
>> install/configure XP for an old dos-based program.
>> After running the tool, references to %system& in the path environmental
>> variable seem to be nullified. For example if I go to cmd and type
>> 'edit'

> I
>> get an error that reads 'edit' is not a recognized internal/external
>> command....If I go into the path variable and change all instances of
>> %system% to c:\windows\ this resolves the issue. So, where is %system%
>> defined?
>>
>> Thanks,
>> m
>>
>>

>
> %system% is not a preset environmental variable in WinXP.
> Maybe someone changed your %path% definition.
>
>



Reply With Quote
  #4  
Old 01-05-2006, 06:09 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: where exactly is %system% defined?

Ah, that's a big difference!

I suspect that the registry entry for your %path%
variable is incorrect. Have a look here:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
The Path value must be a reg_expand_sz type, not a reg_sz type.
What do you have?

"Mike W" <thewittmer@yahoo.com> wrote in message
news:T2Rbf.54670$5e4.37495@tornado.texas.rr.com...
> Actually I made a mistake. I meant %SystemRoot% instead of %System%
>
> System root is in the path statement for the following locations:
> %SystemRoot%
> %SystemRoot%\System32
> %SystemRoot%\System32\WBEM
>
> I have to manually change these to:
> c:\Windows
> c:\Windows\system32
> c:\windows\system32\WBEM
>
> in order to correct the issue. Where is %SystemRoot% defined in Windows

XP?
>
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:%23o71g294FHA.2040@TK2MSFTNGP14.phx.gbl...
> >
> > "Mike W" <thewittmer@yahoo.com> wrote in message
> > news:wKNbf.54299$5e4.26018@tornado.texas.rr.com...
> >> I have a utility that performs some windows customizations to
> >> install/configure XP for an old dos-based program.
> >> After running the tool, references to %system& in the path

environmental
> >> variable seem to be nullified. For example if I go to cmd and type
> >> 'edit'

> > I
> >> get an error that reads 'edit' is not a recognized internal/external
> >> command....If I go into the path variable and change all instances of
> >> %system% to c:\windows\ this resolves the issue. So, where is %system%
> >> defined?
> >>
> >> Thanks,
> >> m
> >>
> >>

> >
> > %system% is not a preset environmental variable in WinXP.
> > Maybe someone changed your %path% definition.
> >
> >

>
>



Reply With Quote
  #5  
Old 01-05-2006, 06:09 AM
Mike W
 
Posts: n/a
Default Re: where exactly is %system% defined?

It is a reg_sz type. How did you know that?
Amazing.
Thanks for the tip.

-m


"Pegasus (MVP)" <I.can@fly.com> wrote in message
news:%23YQKXm$4FHA.1032@TK2MSFTNGP11.phx.gbl...
> Ah, that's a big difference!
>
> I suspect that the registry entry for your %path%
> variable is incorrect. Have a look here:
> HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
> The Path value must be a reg_expand_sz type, not a reg_sz type.
> What do you have?
>
> "Mike W" <thewittmer@yahoo.com> wrote in message
> news:T2Rbf.54670$5e4.37495@tornado.texas.rr.com...
>> Actually I made a mistake. I meant %SystemRoot% instead of %System%
>>
>> System root is in the path statement for the following locations:
>> %SystemRoot%
>> %SystemRoot%\System32
>> %SystemRoot%\System32\WBEM
>>
>> I have to manually change these to:
>> c:\Windows
>> c:\Windows\system32
>> c:\windows\system32\WBEM
>>
>> in order to correct the issue. Where is %SystemRoot% defined in Windows

> XP?
>>
>>
>> "Pegasus (MVP)" <I.can@fly.com> wrote in message
>> news:%23o71g294FHA.2040@TK2MSFTNGP14.phx.gbl...
>> >
>> > "Mike W" <thewittmer@yahoo.com> wrote in message
>> > news:wKNbf.54299$5e4.26018@tornado.texas.rr.com...
>> >> I have a utility that performs some windows customizations to
>> >> install/configure XP for an old dos-based program.
>> >> After running the tool, references to %system& in the path

> environmental
>> >> variable seem to be nullified. For example if I go to cmd and type
>> >> 'edit'
>> > I
>> >> get an error that reads 'edit' is not a recognized internal/external
>> >> command....If I go into the path variable and change all instances of
>> >> %system% to c:\windows\ this resolves the issue. So, where is
>> >> %system%
>> >> defined?
>> >>
>> >> Thanks,
>> >> m
>> >>
>> >>
>> >
>> > %system% is not a preset environmental variable in WinXP.
>> > Maybe someone changed your %path% definition.
>> >
>> >

>>
>>

>
>



Reply With Quote
  #6  
Old 01-05-2006, 06:09 AM
Pegasus \(MVP\)
 
Posts: n/a
Default Re: where exactly is %system% defined?

Been there before . . .


"Mike W" <thewittmer@yahoo.com> wrote in message
newsmTbf.54713$5e4.34093@tornado.texas.rr.com...
> It is a reg_sz type. How did you know that?
> Amazing.
> Thanks for the tip.
>
> -m
>
>
> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> news:%23YQKXm$4FHA.1032@TK2MSFTNGP11.phx.gbl...
> > Ah, that's a big difference!
> >
> > I suspect that the registry entry for your %path%
> > variable is incorrect. Have a look here:
> > HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
> > The Path value must be a reg_expand_sz type, not a reg_sz type.
> > What do you have?
> >
> > "Mike W" <thewittmer@yahoo.com> wrote in message
> > news:T2Rbf.54670$5e4.37495@tornado.texas.rr.com...
> >> Actually I made a mistake. I meant %SystemRoot% instead of %System%
> >>
> >> System root is in the path statement for the following locations:
> >> %SystemRoot%
> >> %SystemRoot%\System32
> >> %SystemRoot%\System32\WBEM
> >>
> >> I have to manually change these to:
> >> c:\Windows
> >> c:\Windows\system32
> >> c:\windows\system32\WBEM
> >>
> >> in order to correct the issue. Where is %SystemRoot% defined in

Windows
> > XP?
> >>
> >>
> >> "Pegasus (MVP)" <I.can@fly.com> wrote in message
> >> news:%23o71g294FHA.2040@TK2MSFTNGP14.phx.gbl...
> >> >
> >> > "Mike W" <thewittmer@yahoo.com> wrote in message
> >> > news:wKNbf.54299$5e4.26018@tornado.texas.rr.com...
> >> >> I have a utility that performs some windows customizations to
> >> >> install/configure XP for an old dos-based program.
> >> >> After running the tool, references to %system& in the path

> > environmental
> >> >> variable seem to be nullified. For example if I go to cmd and type
> >> >> 'edit'
> >> > I
> >> >> get an error that reads 'edit' is not a recognized internal/external
> >> >> command....If I go into the path variable and change all instances

of
> >> >> %system% to c:\windows\ this resolves the issue. So, where is
> >> >> %system%
> >> >> defined?
> >> >>
> >> >> Thanks,
> >> >> m
> >> >>
> >> >>
> >> >
> >> > %system% is not a preset environmental variable in WinXP.
> >> > Maybe someone changed your %path% definition.
> >> >
> >> >
> >>
> >>

> >
> >

>
>



Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OE Folders, Default versus User Defined. brackenburn Outlook Express 11 01-05-2006 04:43 PM
Where can I find a list of defined CTRL-ALT- shortcut keys for desktop items - Windows XP techman41973@yahoo.com Windows XP Help and Support 4 01-05-2006 05:02 AM
I want to keep"Encoding" as "USER Defined smuttner Windows XP General 1 01-05-2006 02:29 AM
Should PIF file have a defined association? WM Windows XP General 1 01-05-2006 02:29 AM


All times are GMT. The time now is 06:17 PM.


Powered by vBulletin Version 3.5.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. SEO by vBSEO 2.3.2 © 2005, Crawlability, Inc.

where exactly is %system% defined?