@echo -off

# Search where startup.nsh is.

for %a in 0 1 2 3 4 5 6 7 8 9
  if exist fs%a:\Startup.nsh then
    # Jump to file system root which startup.nsh exists.
    fs%a:
    goto RUN
  endif
  shift
endfor

:RUN
set StartupDelay 0
set -d path
set -v path %path%;.\bin
cd manual
manual.efi
