You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi - This is a question that isn't covered in the FAQ.
Should the GoW tools .EXE programs run in the Windows command shell?
Or from a Batch file
If the programs are not intended to be launched by Windows then I'll need to look elsewhere. I tried GoW tools with a simple Batch .CMD script and it shows the same behaviour as the MSYS exe-s vis a vie access to the command-line *args ...
An example or as background can be seen on Stackoverflow, here:
Do the GOW tools run in the Windows command shell (cmd.exe)? Yes, they do. Some require it, since we use some batch files to alias some commands to the programs that we are actually using.
If they are used in a batch file, then they are processed using cmd.exe, regardless if it is a .bat or .cmd file. When we had a mixed 16/32 bit environment, .bat was handled by command.com, and .cmd was handled by cmd.exe. Now that 16-bit has gone away (especially for those of us running 64-bit), cmd.exe handles both.
As to the stackoverflow question, cmd.exe and handling of special characters in a .bat/.cmd file is extremely problematic, especially when using shell variables. Between trying to determine when something needs to be double quoted or not, and the fact that some special characters may need further handling, it's a CF. Powershell would be much more suited to handling that situation. And GOW works under Powershell as well.
Hi - This is a question that isn't covered in the FAQ.
If the programs are not intended to be launched by Windows then I'll need to look elsewhere. I tried GoW tools with a simple Batch .CMD script and it shows the same behaviour as the MSYS exe-s vis a vie access to the command-line
*args
...An example or as background can be seen on Stackoverflow, here:
I'm looking for Unix/Linux tools that I can fun from Windows/DOS shell and batch files. Many thanks for your time.
Regards,
Will
The text was updated successfully, but these errors were encountered: