Jump to content

Hi,

I am attempting to run Hypergan, but cmd does not recognize it as a command.

In the path variable, there is a path to it (C:\Users\<myname>\AppData\Local\Programs\Python\Python36\Scripts)

Checking the folder itself, hypergan is there but it's just a file and not an application.

I have uninstalled and reinstalled multiple times.

Can anyone help me out?

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/
Share on other sites

Link to post
Share on other sites

Just now, RollTime said:

image.png.ee5bc9c997c5679d1247705dfd9e1c5e.png

So i have never used this program, but use the cmd a good amount.

 

Is this a windows executable? It needs to be to work. 

 

Does it run when you give it the direct path windows exectuable.

 

If your running a python script you could try python C:\path\to\python\script

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11046213
Share on other sites

Link to post
Share on other sites

Just now, Electronics Wizardy said:

So i have never used this program, but use the cmd a good amount.

 

Is this a windows executable? It needs to be to work. 

 

Does it run when you give it the direct path windows exectuable.

 

If your running a python script you could try python C:\path\to\python\script

same issue. Like I said, it's in the PATH. It's just not an exe.

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11046218
Share on other sites

Link to post
Share on other sites

If the environment variables aren't set, you need to navigate to the directory where the file you want to run is present and then run the thing you want. You will also need to type the file name with the extension (blah.exe for example). If you want to add to the environment variables the link below will probably cover what you need to do and you should be able to then run it from wherever you want.

 

https://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11047184
Share on other sites

Link to post
Share on other sites

1 hour ago, IntMD said:

If the environment variables aren't set, you need to navigate to the directory where the file you want to run is present and then run the thing you want. You will also need to type the file name with the extension (blah.exe for example). If you want to add to the environment variables the link below will probably cover what you need to do and you should be able to then run it from wherever you want.

 

https://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/

It is in the PATH variable. It doesn't have a .exe extension, which leads me to believe this isn't a pathing issue.

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11047518
Share on other sites

Link to post
Share on other sites

10 hours ago, ElSeniorTaco said:

try changing the directory to the one you have hypergan in

and does hypergan have an  extension , like .exe? if so add it

once you get into the directory, you can type DIR to list the files and the extensions if needed

Hypergan has no extension. I'll try the cd thing when I get pack to my PC.

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11047519
Share on other sites

Link to post
Share on other sites

1 hour ago, RollTime said:

Hypergan has no extension. I'll try the cd thing when I get pack to my PC.

You need to go into your folder options and uncheck the setting that hides common file extensions to see it's extension eh.

Also, when you're putting something into dos that has spaces in the path, you need to put quotations around it.

One last thing, your appdata folder is a hidden folder.

I doubt it, but perhaps that has something to do with it not being able to find it?

 

Like someone else said, change your directory to this folder before trying to launch it.

That way you can type dir to actually see the files in dos.

That'll help you figure it out.

 

So, type:

CD C:\Users\<myname>\AppData\Local\Programs\Python\Python36\Scripts

then type:

dir

hit enter

you should now see the file and it's extension if it has one

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11047730
Share on other sites

Link to post
Share on other sites

2 hours ago, stateofpsychosis said:

You need to go into your folder options and uncheck the setting that hides common file extensions to see it's extension eh.

Also, when you're putting something into dos that has spaces in the path, you need to put quotations around it.

One last thing, your appdata folder is a hidden folder.

I doubt it, but perhaps that has something to do with it not being able to find it?

 

Like someone else said, change your directory to this folder before trying to launch it.

That way you can type dir to actually see the files in dos.

That'll help you figure it out.

 

So, type:

CD C:\Users\<myname>\AppData\Local\Programs\Python\Python36\Scripts

then type:

dir

hit enter

you should now see the file and it's extension if it has one

I've checked its Properties and it has no extension, it's just a file. 

 

"hypergan new 1" 

new and one are the commands that should be passed to it, not the file.

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11048276
Share on other sites

Link to post
Share on other sites

15 minutes ago, RollTime said:

I've checked its Properties and it has no extension, it's just a file. 

 

"hypergan new 1" 

new and one are the commands that should be passed to it, not the file.

Okay, what are you trying to do anyways?

It's weird to be starting anything out of appdata to begin with.

Programs don't go there.

Configuration files and save data typically go in appdata.

 

Did you like search your system for the program and it turn up that folder or something?

 

I'm not familiar with the program so I'm a little lost on what's going on here.

 

Whatever it is, if the exe doesn't show up somewhere else like your program files, try reinstalling it next.

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11048320
Share on other sites

Link to post
Share on other sites

2 minutes ago, stateofpsychosis said:

Okay, what are you trying to do anyways?

It's weird to be starting anything out of appdata to begin with.

Programs don't go there.

Configuration files and save data typically go in appdata.

 

Did you like search your system for the program and it turn up that folder or something?

 

I'm not familiar with the program so I'm a little lost on what's going on here.

 

Whatever it is, if the exe doesn't show up somewhere else like your program files, try reinstalling it next.

Good points.

When I get home I'll look around and so some of these suggestions, then get back to you.

it's time

 

Link to comment
https://linustechtips.com/topic/896596-cmd-cannot-find-command/#findComment-11048342
Share on other sites

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×