CARVIEW |
Select Language
HTTP/2 200
date: Sat, 11 Oct 2025 12:28:49 GMT
content-type: text/html; charset=UTF-8
server: cloudflare
x-frame-options: DENY
x-content-type-options: nosniff
x-xss-protection: 1;mode=block
vary: accept-encoding
cf-cache-status: DYNAMIC
content-encoding: gzip
set-cookie: _csrf-frontend=e6ca108ebf803f6bb2f40dfd8935ee992f1cf55c835301d587df2a7cd500101ea%3A2%3A%7Bi%3A0%3Bs%3A14%3A%22_csrf-frontend%22%3Bi%3A1%3Bs%3A32%3A%2250S-fx2DkBNwHN58JyoQd3UaMtW7Hm9h%22%3B%7D; HttpOnly; Path=/
cf-ray: 98ce5c084c86a403-BLR
Создать ярлык.bat - Pastebin.com
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- ChCp 1251 >nul
- cd /d "%~dp0"
- call :SetupLinkTo
- for /f "eol=; tokens=2* delims=:, " %%a in ('type "%cd%\Launcher\launcher-settings.json"^|find "version"') do set version=%%a
- set version=%version:"=%
- rem call :LinkTest "%userprofile%\Desktop\Cities Skylines II.lnk" "%cd%\Cities 2.exe" "" "%cd%\Cities2.exe" "%cd%\test 2" "Cities: Skylines II %version%"
- LinkTo.vbs "%userprofile%\Desktop\Cities Skylines II.lnk" "%cd%\Cities2.exe" "" "%cd%\Cities2.exe" "%cd%\" "Cities: Skylines II (%version%)"
- exit
- :SetupLinkTo
- set CreateLinkTo="%userprofile%\AppData\Local\Microsoft\WindowsApps\LinkTo.vbs"
- rem if not exist %CreateLinkTo% call :CreateLinkTo > %CreateLinkTo%
- call :CreateLinkTo > %CreateLinkTo%
- goto :EOF
- :LinkTest
- echo. CreateShortcut %1
- echo. TargetPath %2
- echo. Arguments %3
- echo. IconLocation %4
- echo. WorkingDir %5
- echo. Description %6
- pause
- goto :EOF
- :CreateLinkTo
- @echo off
- echo On Error resume next
- echo if WScript.Arguments.Count ^< 2 then
- echo WScript.Echo "Command line:" ^& VbCrLf ^& "LnkTo.vbs CreateShortcut TargetPath Arguments IconLocation WorkingDirectory Description"
- echo WScript.Quit 1
- echo end if
- echo Set oWS = WScript.CreateObject^("WScript.Shell")
- echo Set oLink = oWS.CreateShortcut(Wscript.Arguments(0))
- echo oLink.TargetPath = Wscript.Arguments(1)
- echo if WScript.Arguments.Count ^> 2 Then oLink.Arguments = Wscript.Arguments(2) ' Аргументы командной строки
- echo if WScript.Arguments.Count ^> 3 Then oLink.IconLocation = Wscript.Arguments(3) ' Путь к файлу иконки для ярлыка
- echo if WScript.Arguments.Count ^> 4 Then oLink.WorkingDirectory = Wscript.Arguments(4) ' Рабочая папка
- echo if WScript.Arguments.Count ^> 5 Then oLink.Description = Wscript.Arguments(5) ' Комментарий
- rem if WScript.Arguments.Count ^> 6 Then oLink.Hotkey = Wscript.Arguments(6) ' Клавиши быстрого вызова "CTRL+SHIFT+F"
- rem if WScript.Arguments.Count ^> 7 Then oLink.WindowStyle = Wscript.Arguments(7) ' Стиль окна: 1-Обычное; 3-Развёрнутое; 7-Свёрнутое
- echo oLink.Save
- goto :EOF
Tags:
bat
Advertisement
Add Comment
Please, Sign In to add comment
-
Free Crypto Method (NEVER SEEN BEFORE)⭐⭐ 3
JavaScript | 1 sec ago | 0.24 KB
-
⭐✅ Jack's Profit Method ✅ NEVER SEEN BEF...
JavaScript | 4 sec ago | 0.24 KB
-
⭐⭐⭐Crypto Accounts⭐⭐
Java | 5 sec ago | 0.10 KB
-
✅⭐ Make huge profits on trading ⭐⭐ J
JavaScript | 7 sec ago | 0.24 KB
-
⭐✅ Online Marketplace Exploit ✅ NEVER SEEN BE...
JavaScript | 13 sec ago | 0.24 KB
-
⭐✅ Swapzone Glitch ✅ Working⭐⭐⭐ L
JavaScript | 14 sec ago | 0.24 KB
-
⭐⭐⭐Make $15OO in 2O minutesV G⭐⭐
Java | 16 sec ago | 0.10 KB
-
⭐✅ MAKE $2500 IN 15 MIN⭐⭐⭐ 4
JavaScript | 18 sec ago | 0.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand