From: Tobias Reif Date: 2003-09-03T19:01:01+09:00 Subject: Re: how to get the output of commands which contain backslashes? Hi U.Nakamura wrote: > | Does your code work for you, on a Win9* (Windows ME) box? > > Oh, sorry, I only tested on my WinXP box. Your code `command.com /c \for-programs\use\\tidy\\tidy.exe -v` works on XP? > I have Win98SE test envrionment on my home, but now I'm on > office... It would be great if you could test it on Win9*. > | > `command.com /c \for-programs\use\\tidy\\tidy.exe -v` > | > | I wrote: > | # these don't work (nothing printed) > | puts `command.com /c \for-programs\use\tidy\tidy.exe -v` > | puts `command.com /c \\for-programs\\use\\tidy\\tidy.exe -v` > > Hmmm, so, can you try this? > `command.com /c \\for-programs\use\\tidy\\tidy.exe -v` What's the difference to the code above which I tested already and which doesn't work? Are you sure about the "\\" mixed with "\"? Here is your code and a line with an added "\": puts `command.com /c \\for-programs\use\\tidy\\tidy.exe -v` puts `command.com /c \\for-programs\\use\\tidy\\tidy.exe -v` Neither produces any output. That's the problem :( Tobi -- http://www.pinkjuice.com/