red0fireus Posted August 5, 2020 Posted August 5, 2020 (edited) Hello, I want to create a Run command that starts Rainmeter with "Bangs" Bangs are the variables that rainmeter uses to kill specific skins from running. I have figured out how to do it with: Run(@ComSpec & " /c " & '""C:\Program Files\Rainmeter\Rainmeter.exe" !DeactivateConfig "DeuXx\Visualizer\" "Visualizer v.2.ini""', @SystemDir, @SW_HIDE) But my question is how do I change "DeuXx\Visualizer\" and "Visualizer v.2.ini" to variables like $fileFolder and $fileINI I'm very confused on where the " " should start and end to achieve this. Here is my attempt: Global $fileFolder = "Minimalist Weather Standalone\" Global $fileINI = "Minimalist Weather.ini" Run(@ComSpec & " /c " & '""C:\Program Files\Rainmeter\Rainmeter.exe" !DeactivateConfig"' & $fileFolder & $fileINI, @SystemDir, @SW_HIDE) Thank you! Edited August 5, 2020 by red0fireus
red0fireus Posted August 5, 2020 Author Posted August 5, 2020 (edited) For anyone who has the same issue as me. https://forum.rainmeter.net/viewtopic.php?f=103&t=35808&p=181235#p181235 Edited August 5, 2020 by red0fireus
Sidley Posted August 5, 2020 Posted August 5, 2020 Try this: Run(@ComSpec & " /c " & '"C:\Program Files\Rainmeter\Rainmeter.exe" !DeactivateConfig "' & $fileFolder &'" "'& $fileINI &'"') Not sure how the spaces in "Minimalist Weather Standalone" will affect it though, try renaming the folder/ini file with no white spaces.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now