l o a d i n g

Fix Bat Script for PCGameBoost

May 9, 2024 - Expert

$597.00 Fixed

need help fix this script and please dont talk about budget in chat i only pay what you bid ammount is please respect my wishges thank you here is the .bat script it wont run on my pc @echo off SETLOCAL ENABLEDELAYEDEXPANSION REM Define source file, destination folder, and executable SET "SOURCE_FILE=C:\Users\marti\Music\ver\[login to view URL]" SET "DESTINATION_FOLDER=C:\Program Files (x86)\PCGameBoost\Smart Game Booster\5.3.1" SET "EXECUTABLE_FILE=C:\Program Files (x86)\PCGameBoost\Smart Game Booster\5.3.1\[login to view URL]" REM Check if the source file exists IF NOT EXIST "%SOURCE_FILE%" ( echo ERROR: Source file not found: %SOURCE_FILE% exit /b 1 ) REM Create destination folder if it does not exist IF NOT EXIST "%DESTINATION_FOLDER%" ( echo INFO: Creating destination folder: %DESTINATION_FOLDER% mkdir "%DESTINATION_FOLDER%" ) REM Copy the file to the destination folder COPY /Y "%SOURCE_FILE%" "%DESTINATION_FOLDER%" IF ERRORLEVEL 1 ( echo ERROR: Failed to copy file to %DESTINATION_FOLDER% exit /b 1 ) ELSE ( echo SUCCESS: File copied successfully to %DESTINATION_FOLDER% ) REM Check if the executable file exists before trying to run it IF EXIST "%EXECUTABLE_FILE%" ( echo INFO: Starting executable: %EXECUTABLE_FILE% START "" "%EXECUTABLE_FILE%" IF ERRORLEVEL 1 ( echo ERROR: Failed to start executable: %EXECUTABLE_FILE% exit /b 1 ) ) ELSE ( echo ERROR: Executable not found: %EXECUTABLE_FILE% exit /b 1 ) ENDLOCAL exit /b 0
  • Proposal: 0
  • 31 days
AuthorImg
Bhadraksh Patil Inactive
,
Member since
Apr 4, 2024
Total Job
1