in reply to Windows: system("type ...") vs. system("cmd /c type ...")

I would bet on system, alone, not taking you to the directory where myfile.txt is...
[]s, HTH, Massa (κς,πμ,πλ)

Replies are listed 'Best First'.
Re^2: Windows: system("type ...") vs. system("cmd /c type ...")
by rovf (Priest) on Nov 17, 2008 at 12:31 UTC

    Hmmm... I *am* already in that directory, so no need to cd somewhere.

    -- 
    Ronald Fischer <ynnor@mm.st>