Код: Выделить всё
hoge.jarКод: Выделить всё
hoge.shКод: Выделить всё
hoge.batКод: Выделить всё
cat hoge.sh hoge.jar >foo.sh
Код: Выделить всё
copy /b hoge.bat+hoge.jar foo.bat
Код: Выделить всё
hoge.ps1Код: Выделить всё
copy /b hoge.ps1+hoge.jar foo.ps1
Код: Выделить всё
java -jar foo.ps1
Подробнее здесь: https://stackoverflow.com/questions/632 ... ell-script
Мобильная версия