Skip to content

Instantly share code, notes, and snippets.

@shawly
shawly / createGFEShortcuts.bat
Last active April 21, 2020 23:36
Batch script for creating emulator shortcuts with commandline options within GeForce Experience for game streaming. (usage examples in the comment section)
@echo off
title GeForce Experience Shortcut generator
setlocal EnableExtensions EnableDelayedExpansion
if %1.==. goto usage
set executable=%1
if not exist %executable% goto :exenotfound
for %%A in (%executable%) do (
set exefullpath=%%~fA
set exeworkingdirectory=%%~dA%%~pA