Hallo,
wie aus dem Titel erkennbar habe ich ein Problem mit Batch Files,
ich habe bereits versucht die Leertastenzeichen mit "" einzubeziehen doch dann öffnete sich nur eine weitere
Batch, aber ohne "" funktionieren Leerzeichen als Trennzeichen
Hier mal mein Code:
@echo off
:main
cls
echo.
echo.
echo.
echo Was darf es sein ?
echo.
echo.
echo.
echo [A] Battlefield 3
echo Battlefield 4
echo [C] Fifa 15
echo [D] GOG Galaxy
echo [E] League of Legends
echo [F] Spotify
echo [G] Steam
echo [H] Notepad
echo.
echo.
echo.
set /p Klick=
if /i "%Klick%"=="A" goto A
if /i "%Klick%"=="B" goto B
if /i "%Klick%"=="C" goto C
if /i "%Klick%"=="D" goto D
if /i "%Klick%"=="E" goto E
if /i "%Klick%"=="F" goto F
if /i "%Klick%"=="G" goto G
if /i "%Klick%"=="H" goto H
:A
start
pause
goto main
:B
start
pause
goto main
:C
start
pause
goto main

start C:\Programme" "(x86)\GalaxyClient\GalaxyClient.exe
pause
goto main
:E
start "C:\Riot Games\League of Legends\lol.launcher.exe"
pause
goto main
:F
start C:\Users\Finn\AppData\Roaming\Spotify\Spotify.exe
pause
goto main
:G
start "C:\Programme (x86)\Steam\Steam.exe"
pause
goto main
:H
start "C:\Programme (x86)\Notepad++\notepad++.exe"
pause
goto main
Er ist noch nicht ganz fertig, weil ein paar Pfade fehlen, bin gerade am Einrichten des PC´s nach Windows 10 Pro Upgrade
, hoffe ihr könnt mir helfen.
wie aus dem Titel erkennbar habe ich ein Problem mit Batch Files,
ich habe bereits versucht die Leertastenzeichen mit "" einzubeziehen doch dann öffnete sich nur eine weitere
Batch, aber ohne "" funktionieren Leerzeichen als Trennzeichen
Hier mal mein Code:
@echo off
:main
cls
echo.
echo.
echo.
echo Was darf es sein ?
echo.
echo.
echo.
echo [A] Battlefield 3
echo Battlefield 4
echo [C] Fifa 15
echo [D] GOG Galaxy
echo [E] League of Legends
echo [F] Spotify
echo [G] Steam
echo [H] Notepad
echo.
echo.
echo.
set /p Klick=
if /i "%Klick%"=="A" goto A
if /i "%Klick%"=="B" goto B
if /i "%Klick%"=="C" goto C
if /i "%Klick%"=="D" goto D
if /i "%Klick%"=="E" goto E
if /i "%Klick%"=="F" goto F
if /i "%Klick%"=="G" goto G
if /i "%Klick%"=="H" goto H
:A
start
pause
goto main
:B
start
pause
goto main
:C
start
pause
goto main

start C:\Programme" "(x86)\GalaxyClient\GalaxyClient.exe
pause
goto main
:E
start "C:\Riot Games\League of Legends\lol.launcher.exe"
pause
goto main
:F
start C:\Users\Finn\AppData\Roaming\Spotify\Spotify.exe
pause
goto main
:G
start "C:\Programme (x86)\Steam\Steam.exe"
pause
goto main
:H
start "C:\Programme (x86)\Notepad++\notepad++.exe"
pause
goto main
Er ist noch nicht ganz fertig, weil ein paar Pfade fehlen, bin gerade am Einrichten des PC´s nach Windows 10 Pro Upgrade
, hoffe ihr könnt mir helfen.