New
#1
CMD Prompt Cannot Find exe That Certainly Exists
I'm trying to create a batch file to open to applications, Spotify and Rainmeter, simultaneously. Spotify is, well, obviously a music player and rainmeter is an app that runs plugins, in this case I use it to display a visualizer and metadata on the TV in my living room.
I always always always launch both Spotify and Rainmeter at the same time, so I figured I'd find a way to do it with the click of a single button.
I found a tutorial on line that shows how to create a batch file, but I'm running into issues.
Here's my .bat:
This opens Spotify just fine (though it took some deviation from the tutorial, such as removing the slash at the end of "D:\... ...Spotify").Code:@echo off cd C:\Program Files\Rainmeter\ start rainmeter.exe cd D:\Users\Alec J Brock\AppData\Roaming\Spotify start spotify.exe exit
Rainmeter will not launch. I run the .bat and Spotify launches, but I get a dialog box that says "Windows cannot find 'rainmeter.exe'. Make sure you typed the name correctly, then try again.
I definitely typed the name correctly, but I tried use an uppercase R, dropping .exe, and all other combinations as well as using and not using double quotes around rainmeter.exe and the filepaths. No success.
I tried doing things a bit more manually by opening a command prompt, CDing to C:/Program Files/Rainmeter/ then running "start rainmeter.exe"--I get the same dialog box saying that no rainmeter.exe cannot be found. I get the same dialog if I try to start SkinInstaller.exe or uninst.exe (other executables in the same directory).
I've also tried running the .bat as an admin. All with no results.
So what gives? Why does command prompt seem unable to locate executables in this directory?