Bug #33048

flow3.bat gives wrong feedback

Added by Daniel Felix about 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
Core
Start date:
2012-01-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

Description

Hi,

this is just a very little issue, but your flow3.bat gives some wrong feedback.

If i callflow3.bat I currently get this feedback:

FLOW3 1.0.2 ("Development" context)
usage: ./flow3 <command identifier>

See '*./flow3* help' for a list of all available commands.

This is quite wrong.

The correct response should be:
FLOW3 1.0.2 ("Development" context)
usage: flow3.bat <command identifier>

See '*flow3.bat* help' for a list of all available commands.

#1

Updated by Bastian Waidelich about 9 years ago

The correct response should be:
FLOW3 1.0.2 ("Development" context)
usage: flow3.bat <command identifier>

as *.bat files are executed by default, you can leave out the extension. So "flow3" <ENTER> works fine.
But you're right, the "./" should be trimmed off on Windows.

#2

Updated by Daniel Felix about 9 years ago

No sorry, your wrong.
You need to specify the .bat!
Windows couldn't handle the request of flow3 help
This has two reasons.
1. you have two files in the same folder. flow3.bat and flow3. So Windows would send the Request to the flow3 File not to the bat itself.
2. Windows Powershell throws a errormessage (in german):
PS C:\inetpub\vhosts\domain.com\httpdocs\Quickstart> flow3
Die Benennung "flow3" wurde nicht als Name eines Cmdlet, einer Funktion, einer Skriptdatei oder eines ausführbaren Prog
ramms erkannt. Überprüfen Sie die Schreibweise des Namens, oder ob der Pfad korrekt ist (sofern enthalten), und wiederh
olen Sie den Vorgang.
Bei Zeile:1 Zeichen:6
+ flow3 <<<<
+ CategoryInfo : ObjectNotFound: (flow3:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

#3

Updated by Bastian Waidelich about 9 years ago

You need to specify the .bat!

leaving it out works for me in the default CMD and msysgit interface on Windows 7 and XP.
But, as we have to "localize" this anyways, it doesn't really matter.

#4

Updated by Daniel Felix about 9 years ago

Bastian Waidelich wrote:

You need to specify the .bat!

leaving it out works for me in the default CMD and msysgit interface on Windows 7 and XP.
But, as we have to "localize" this anyways, it doesn't really matter.

Maybe work on Windows 7 and XP, but not on Windows SERVER 2008 with Powershell. ;-)
But your right. It doesn't matter.

#5

Updated by Gerrit Code Review almost 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476

#6

Updated by Karsten Dambekalns almost 9 years ago

  • Project changed from TYPO3 Flow Base Distribution to TYPO3.Flow
  • Assignee set to Karsten Dambekalns
#7

Updated by Karsten Dambekalns almost 9 years ago

  • Category set to Core
  • Target version set to 1.0.4
  • Has patch set to No
#8

Updated by Gerrit Code Review almost 9 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476

#9

Updated by Gerrit Code Review almost 9 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9476

#10

Updated by Gerrit Code Review almost 9 years ago

Patch set 1 for branch FLOW3-1.0 has been pushed to the review server.
It is available at http://review.typo3.org/9582

#11

Updated by Karsten Dambekalns almost 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF