You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
248 B
19 lines
248 B
@echo off
|
|
setlocal
|
|
|
|
set ROOT=%1
|
|
set OBJ=%2
|
|
shift
|
|
shift
|
|
|
|
set LIST=
|
|
|
|
for %%i in (%*) do (
|
|
if "%%i" neq "%ROOT%" (
|
|
if "%%i" neq "%OBJ%" (
|
|
set LIST=!LIST! {%OBJ%\%%i=%ROOT%\%%i}
|
|
)
|
|
)
|
|
)
|
|
|
|
echo %LIST%
|