Get System Folder

  • Thread starter Thread starter Alex Uifalean
  • Start date Start date
A

Alex Uifalean

Is there a way to get(detect) the sytem folder path not c:\winnt but
c:\winnt\system32 in a batch file?

the %windir% , %systemroot% are returning c:\winnt
 
In said:
Is there a way to get(detect) the sytem folder path not c:\winnt but
c:\winnt\system32 in a batch file?

the %windir% , %systemroot% are returning c:\winnt

Since "system32" is required to be named "system32" (at least in
English), one can just assume that
%systemroot%\System32
is valid.

If that is not good enough will you say why you need to test it and
under what circumstances you have found the assumption to be invalid.
 
Back
Top