Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. 2 questions

2 questions

Scheduled Pinned Locked Moved C / C++ / MFC
c++phpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    moraalg
    wrote on last edited by
    #1

    DOS prompt i use VC++ 6.0, what header can i include and what command can i use to copy the contents of a DOS screen to a file, like if i wanted to copy the directory of a folder to a file. EMAIL i made a program that displays info and i just copy and paste it to an email, is there anything i can do to just directly send the info to the email? i doubt it's possible, i want to send it to NETSCAPE COMPOSER, thanks

    A 1 Reply Last reply
    0
    • M moraalg

      DOS prompt i use VC++ 6.0, what header can i include and what command can i use to copy the contents of a DOS screen to a file, like if i wanted to copy the directory of a folder to a file. EMAIL i made a program that displays info and i just copy and paste it to an email, is there anything i can do to just directly send the info to the email? i doubt it's possible, i want to send it to NETSCAPE COMPOSER, thanks

      A Offline
      A Offline
      Abbas_Riazi
      wrote on last edited by
      #2

      It's very simple. In DOS world, try this: c:\> dir *.* > myfile.txt In this manner, all of reports from dir command will be redirect to myfile.txt you can use ShellExecute or ShellExecuteEx API to do that for you. Remember that "*.* > myfile.txt" is argument of dir command. A. Riazi

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups