Jump to content

Command line works, but not shortcut


Thalassicus

Recommended Posts

Not really sure this is the right forum, but since it's a modding program and I'm trying to troubleshoot, I figure this is as good as any. I recently upgraded my computer, and on my XP system to access Wyre Bash I'd simply create a shortcut in its directory with a target like this:

 

c:\python25\python.exe bash.py

 

Yet, on my Windows 7 system the shortcut does absolutely nothing, which surprised me.

 

Am I overlooking some new W7 thing I should be aware of in regard to shortcuts, python, and command line instructions?

 

If I open a command prompt in the directory and type the line there, it works. So I created a .bat file instead of a shortcut to run the command as my current workaround (runs perfectly fine this way), but this still puzzles me, and leaves me with two windows open (the cmd prompt and python) instead of one, so it's not ideal.

Link to comment
Share on other sites

It's an interesting problem, As I do use Win7 x64 I may have to try it to see if it works on my system.

Shortcuts seem to work a little different on Win7, not sure about Vista as I skipped it.

Link to comment
Share on other sites

You need to reference the python executable in the same line in the shortcut.

 

Something like this:

%windir%\YourDirectoryPathToPython "c:\python25\python.exe bash.py"

 

There may be other switches needed; this is probably detailed in the documentation somewhere, or in a sample shortcut.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...