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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Command line input with assembly

Command line input with assembly

Scheduled Pinned Locked Moved C / C++ / MFC
help
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.
  • C Offline
    C Offline
    Cpudood
    wrote on last edited by
    #1

    About two hours ago I came up with the brilliant idea to create a console app that will compare files and their attributes. I got the psedocode all mapped out and then wondered how i'd get the "dir" command to run from the command line executed from within my code. I've heard of a GetCommandLine function, but I can't seem to find enough on it, such as what types of arguments it accepts and what .lib and header files to link and include. If you know of any good links or have a remedy to my problem it would be appreciated. :->

    T 1 Reply Last reply
    0
    • C Cpudood

      About two hours ago I came up with the brilliant idea to create a console app that will compare files and their attributes. I got the psedocode all mapped out and then wondered how i'd get the "dir" command to run from the command line executed from within my code. I've heard of a GetCommandLine function, but I can't seem to find enough on it, such as what types of arguments it accepts and what .lib and header files to link and include. If you know of any good links or have a remedy to my problem it would be appreciated. :->

      T Offline
      T Offline
      Toni78
      wrote on last edited by
      #2

      This is where you can get more information [](<a href=)[^]" > You have to parse the strings to get the "dir" command. // Afterall, I realized that even my comment lines have bugs If the sun were to blow up, it would take us 7-8 minutes to realize it.

      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