Get System Folder

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
 
M

Mark V

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top