Winbatch does not see "C:\Windows\System32\OEM"

Started by naholt, August 26, 2017, 07:22:48 AM

Previous topic - Next topic

naholt

i am trying to write a script to change out the oem logo. the first thing i want to do is to verify that "C:\Windows\System32\OEM" exists:
  Path = "C:\Windows\System32\OEM"
  If DirExist(Path)
  message("works", "there")
  else
  message("fails", "where is it")
   endif
To my surprise Winbatch does not see it.  To my knowledge and research this folder is not unique.  any ideas why winbatch does not see it.  by the way the folder is there and its not hidden
thanks
Nicholas

td

File redirection has been a part of the Windows Operation System for over 10 years.

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/64-bit+File~Redirection.txt

One thing the article does not state is that in most cases Sysnative is the better choice.
"No one who sees a peregrine falcon fly can ever forget the beauty and thrill of that flight."
  - Dr. Tom Cade