'love' in cmd?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Freze
Prole
Posts: 9
Joined: Wed Apr 13, 2011 1:15 pm

'love' in cmd?

Post by Freze »

Hey. I just installed LOVE on windows, read a part of the guides. But when I was trying to do love in my cmd, it just comes with the standard 'love wasn't recognized bla bla' thing.

So.. Anyone knows what I'm doing wrong?
Could be because I haven't restarted yet, if so, please tell me. I'll restart ;).
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: 'love' in cmd?

Post by bartbes »

If you want to use it without a full path you need to add the path to the install to your PATH. (How many times can I say "path" in a sentence?)
Unfortunately, I forgot how to do it :P.
Freze
Prole
Posts: 9
Joined: Wed Apr 13, 2011 1:15 pm

Re: 'love' in cmd?

Post by Freze »

That's alright ;). Thanks for the fast reply :).

(You can use path like this:)
Lets pretend you said that
sentance = sentance or ""
newstring = string.explode(sentance, " ")
print(#newstring)

Depending how long your sentance is ;).

I don't know if love has the # operator. But where I come from, lua does :D
User avatar
TechnoCat
Inner party member
Posts: 1611
Joined: Thu Jul 30, 2009 12:31 am
Location: Milwaukee, WI
Contact:

Re: 'love' in cmd?

Post by TechnoCat »

bartbes wrote:If you want to use it without a full path you need to add the path to the install to your PATH. (How many times can I say "path" in a sentence?)
Unfortunately, I forgot how to do it :P.
On NT based systems. Right click "my computer" -> properties, then go to the "advanced", click on environment variables at the bottom, Click on "PATH" under "User variables" and click edit. Add something like ;C:\Program Files\LOVE, depending on where your love.exe is of course.
Remember to separate paths by semicolons.
Freze
Prole
Posts: 9
Joined: Wed Apr 13, 2011 1:15 pm

Re: 'love' in cmd?

Post by Freze »

Thanks man. I owe you one ;).
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests