locked
Windows Store (Metro) Command Line App

    Question

  • Is there any way to have a simple, command-line app on the Windows Store side of things?

    Just thinking back to simply programming where you take command line input (cin) and use that to do something simple.

    Tuesday, September 18, 2012 9:29 PM

All replies

  • No. Windows Store apps are inherently graphical and full screen.

    Command line apps are always desktop apps.

    --Rob

    Tuesday, September 18, 2012 10:04 PM
    Owner
  • Technically there's no reason you couldn't create something console-like in a Windows Store app. You'd have to handle all the input interpretation yourself, but it could certainly work. It just wouldn't be able to run typical console commands, because, as Rob pointed out, it's not a desktop app.
    Wednesday, September 19, 2012 3:20 PM
  • Technically there's no reason you couldn't create something console-like in a Windows Store app. You'd have to handle all the input interpretation yourself, but it could certainly work. It just wouldn't be able to run typical console commands, because, as Rob pointed out, it's not a desktop app.

    Yes, I didn't mean that I wanted to be able to run typical console commands. Just a simple way to receive text input and post text output without dealing with a complex UI. A very simple program with a basic UI (such as a text menu) that would interpret the input. 

    Desktop app isn't an option, since this is for Windows RT. 


    • Edited by Mark eMark Wednesday, September 19, 2012 5:38 PM
    Wednesday, September 19, 2012 5:36 PM