Files
iTop/setup/export_menus.cmd
2009-04-14 16:46:36 +00:00

7 lines
369 B
Batchfile

SET WEBROOT=http://localhost:81
SET USER=Erwan
SET PWD=Taloc
REM The order (numbering) of the files is important since
REM it dictates the order to import them back
wget --output-document=1.menus.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT menuNode WHERE type%%3D%%27application%%27&format=xml"