@echo off

rem ## {R2D2919B742E} ##
rem ###########################################################################
rem What if magic existed?
rem What if a place existed where your every thought and dream come to life.
rem There is only one catch: it has to be written down.
rem Such a place exists, it is called programming.
rem    - Scott Taylor Reph, RightThumb.com
rem ###########################################################################
rem ## {C3P0D40fAe8B} ##

IF EXIST D:\tech\scripts\instanceID.sys (set /p test=<D:\tech\scripts\instanceID.sys& echo. & echo Found instance D:\  ) & IF [%test%] == [%adminID%] (echo D:\ is Admin & echo. & set adminDrive=E)
IF EXIST D:\tech\scripts\instanceID.sys (set /p test=<D:\tech\scripts\instanceID.sys& echo. & echo Found instance D:\  ) & IF [%test%] == [%adminID%] (echo D:\ is Admin & echo. & set adminDrive=E)
IF EXIST D:\tech\scripts\instanceID.sys (set /p test=<D:\tech\scripts\instanceID.sys& echo. & echo Found instance D:\  ) & IF [%test%] == [%adminID%] (echo D:\ is Admin & echo. & set adminDrive=E)
IF EXIST E:\tech\scripts\instanceID.sys (set /p test=<E:\tech\scripts\instanceID.sys& echo. & echo Found instance E:\  ) & IF [%test%] == [%adminID%] (echo E:\ is Admin & echo. & set adminDrive=E)
IF EXIST F:\tech\scripts\instanceID.sys (set /p test=<F:\tech\scripts\instanceID.sys& echo. & echo Found instance F:\  ) & IF [%test%] == [%adminID%] (echo F:\ is Admin & echo. & set adminDrive=E)
IF EXIST G:\tech\scripts\instanceID.sys (set /p test=<G:\tech\scripts\instanceID.sys& echo. & echo Found instance G:\  ) & IF [%test%] == [%adminID%] (echo G:\ is Admin & echo. & set adminDrive=E)
IF EXIST H:\tech\scripts\instanceID.sys (set /p test=<H:\tech\scripts\instanceID.sys& echo. & echo Found instance H:\  ) & IF [%test%] == [%adminID%] (echo H:\ is Admin & echo. & set adminDrive=E)
IF EXIST I:\tech\scripts\instanceID.sys (set /p test=<I:\tech\scripts\instanceID.sys& echo. & echo Found instance I:\  ) & IF [%test%] == [%adminID%] (echo I:\ is Admin & echo. & set adminDrive=E)
IF EXIST J:\tech\scripts\instanceID.sys (set /p test=<J:\tech\scripts\instanceID.sys& echo. & echo Found instance J:\  ) & IF [%test%] == [%adminID%] (echo J:\ is Admin & echo. & set adminDrive=E)
IF EXIST K:\tech\scripts\instanceID.sys (set /p test=<K:\tech\scripts\instanceID.sys& echo. & echo Found instance K:\  ) & IF [%test%] == [%adminID%] (echo K:\ is Admin & echo. & set adminDrive=E)
IF EXIST L:\tech\scripts\instanceID.sys (set /p test=<L:\tech\scripts\instanceID.sys& echo. & echo Found instance L:\  ) & IF [%test%] == [%adminID%] (echo L:\ is Admin & echo. & set adminDrive=E)
IF EXIST M:\tech\scripts\instanceID.sys (set /p test=<M:\tech\scripts\instanceID.sys& echo. & echo Found instance M:\  ) & IF [%test%] == [%adminID%] (echo M:\ is Admin & echo. & set adminDrive=E)
IF EXIST N:\tech\scripts\instanceID.sys (set /p test=<N:\tech\scripts\instanceID.sys& echo. & echo Found instance N:\  ) & IF [%test%] == [%adminID%] (echo N:\ is Admin & echo. & set adminDrive=E)
IF EXIST O:\tech\scripts\instanceID.sys (set /p test=<O:\tech\scripts\instanceID.sys& echo. & echo Found instance O:\  ) & IF [%test%] == [%adminID%] (echo O:\ is Admin & echo. & set adminDrive=E)
IF EXIST P:\tech\scripts\instanceID.sys (set /p test=<P:\tech\scripts\instanceID.sys& echo. & echo Found instance P:\  ) & IF [%test%] == [%adminID%] (echo P:\ is Admin & echo. & set adminDrive=E)
IF EXIST Q:\tech\scripts\instanceID.sys (set /p test=<Q:\tech\scripts\instanceID.sys& echo. & echo Found instance Q:\  ) & IF [%test%] == [%adminID%] (echo Q:\ is Admin & echo. & set adminDrive=E)
IF EXIST R:\tech\scripts\instanceID.sys (set /p test=<R:\tech\scripts\instanceID.sys& echo. & echo Found instance R:\  ) & IF [%test%] == [%adminID%] (echo R:\ is Admin & echo. & set adminDrive=E)
IF EXIST S:\tech\scripts\instanceID.sys (set /p test=<S:\tech\scripts\instanceID.sys& echo. & echo Found instance S:\  ) & IF [%test%] == [%adminID%] (echo S:\ is Admin & echo. & set adminDrive=E)
IF EXIST T:\tech\scripts\instanceID.sys (set /p test=<T:\tech\scripts\instanceID.sys& echo. & echo Found instance T:\  ) & IF [%test%] == [%adminID%] (echo T:\ is Admin & echo. & set adminDrive=E)
IF EXIST U:\tech\scripts\instanceID.sys (set /p test=<U:\tech\scripts\instanceID.sys& echo. & echo Found instance U:\  ) & IF [%test%] == [%adminID%] (echo U:\ is Admin & echo. & set adminDrive=E)
IF EXIST V:\tech\scripts\instanceID.sys (set /p test=<V:\tech\scripts\instanceID.sys& echo. & echo Found instance V:\  ) & IF [%test%] == [%adminID%] (echo V:\ is Admin & echo. & set adminDrive=E)
IF EXIST W:\tech\scripts\instanceID.sys (set /p test=<W:\tech\scripts\instanceID.sys& echo. & echo Found instance W:\  ) & IF [%test%] == [%adminID%] (echo W:\ is Admin & echo. & set adminDrive=E)
IF EXIST X:\tech\scripts\instanceID.sys (set /p test=<X:\tech\scripts\instanceID.sys& echo. & echo Found instance X:\  ) & IF [%test%] == [%adminID%] (echo X:\ is Admin & echo. & set adminDrive=E)
IF EXIST Y:\tech\scripts\instanceID.sys (set /p test=<Y:\tech\scripts\instanceID.sys& echo. & echo Found instance Y:\  ) & IF [%test%] == [%adminID%] (echo Y:\ is Admin & echo. & set adminDrive=E)
IF EXIST Z:\tech\scripts\instanceID.sys (set /p test=<Z:\tech\scripts\instanceID.sys& echo. & echo Found instance Z:\  ) & IF [%test%] == [%adminID%] (echo Z:\ is Admin & echo. & set adminDrive=E)

:END

 
