Re: Exec a program on Windows that contains ( ) in the filename



* joiosoy@xxxxxxxxx
| exec c:/Tcl/bin/a\(b\)/test.bat
| 'c:\Tcl\bin\a' is not recognized as an internal or external command,
| operable program or batch file.
--<snip-snip>--
| >From the Windows command line:
|
| C:\Documents and Settings\user\Desktop>c:\Tcl\bin\a(b)\test.bat
| 'c:\Tcl\bin\a' is not recognized as an internal or external command,
| operable program or batch file.

This sounds as if it is the windows command line which has problems
here understanding its own file system.

exec \"c:/Tcl/bin/a\(b\)/test.bat\"

(yes, make the double quotes part of the program name), or even

exec cmd /c \"c:/Tcl/bin/a\(b\)/test.bat\"

?
R'
.



Relevant Pages

  • RE: Error in Event Viewer - Active in HAT
    ... unfortunately I get this error when I start the trace. ... 'tracelog.exe' is not recognized as an internal or external command, ... operable program or batch file. ...
    (microsoft.public.biztalk.general)
  • Re: All DHCP Servers Info HELP!
    ... Recieved bunch of errors. ... ''' is not recognized as an internal or external command, ... operable program or batch file. ...
    (microsoft.public.windows.server.active_directory)
  • xcopy is not recognized as an internal or external command
    ... operable program or batch file. ... 'C:\xcopy' is not recognized as an internal or external command, ... Munging English.cfg ...
    (microsoft.public.windowsxp.general)
  • Re: Clock on pc time loss
    ... operable program or batch file. ... 'cmd' is not recognized as an internal or external command, ... The Windows Time service was stopped successfully. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Clock on pc time loss
    ... operable program or batch file. ... 'cmd' is not recognized as an internal or external command, ... The Windows Time service was stopped successfully. ...
    (microsoft.public.windowsxp.help_and_support)