Author Topic: Winbatch does not see "C:\Windows\System32\OEM"  (Read 93 times)

naholt

  • Newbie
  • *
  • Posts: 16
Winbatch does not see "C:\Windows\System32\OEM"
« on: August 26, 2017, 07:22:48 am »
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

  • Tech Support
  • *****
  • Posts: 2159
    • WinBatch
Re: Winbatch does not see "C:\Windows\System32\OEM"
« Reply #1 on: August 26, 2017, 08:08:04 am »
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.
"Success is a lousy teacher. It seduces smart people into thinking they can't lose."
  - Bill Gates


naholt

  • Newbie
  • *
  • Posts: 16
Re: Winbatch does not see "C:\Windows\System32\OEM"
« Reply #2 on: August 26, 2017, 08:20:40 am »
that worked thanks