|I am trying to make a simple batch that makes a folder called game (unless it already exists) and put text in a .txt file (unless it's already there) then show that text inside the command shell. Its a simple script to write but I'm obviously doing something wrong.|
Heres the script so far;
if not exist "%userprofile%/Desktop/game" (goto next) else (goto start)
if not exist "%userprofile%/Desktop/game/inventory.txt" (goto nxt) else (goto after)
echo If you see this it worked >> "%userprofile%/Desktop/game/inventory.txt"