Вопросы по BATCH:
1.Нам нужно отобразить напись: "Дождитесь 100% установки.", но интерпритатор съест "%", как будто это переменная, как быть?
Ответ:
Просто нужно удвоить! Пример:
echo Дождитесь 100%% установки.
2.Нужно из CMD сделать файл index.html.
echo <html> >index.html
echo <b>(C)HellWolf06 2011</b> >>index.html
echo <a href=http://www.google.ru>Google.ru</a> >>index.html
echo </html> >>index.html
Ответ:
echo ^<html^> >index.html
echo ^<b^>(C)HellWolf06 2011^</b^> >>index.html
echo ^<a href=http://www.google.ru^>Google.ru^</a^> >>index.html
echo ^</html^> >>index.html
3.Как перенести длинную строку?
Например
start packagebin.exe --recursive-search=yes --files-mask=exe,dll,pdb,obj --archive-type=zip --archive-level=max --deliver-method=ftp --deliver-target=ftp://ftp.site.com
С помощью "^"!
Пример:
start packagebin.exe --recursive-search=yes --files-mask=exe,dll,pdb,obj ^
--archive-type=zip --archive-level=max --deliver-method=ftp ^
--deliver-target=ftp://ftp.site.com
На пока все, ждите продолжения!