Search:

Type: Posts; User: Longhair

Search: Search took 0.01 seconds.

  1. I just got it working by adding another "\ ...

    I just got it working by adding another "\

    BEFORE:


    std::system("\"C:\\Windows\\System32\\forfiles.exe\" /p \"C:\\Users\\Longhair\\Desktop\\Text Test\" /s /m *.txt /d -153 /c \"cmd /c del...
  2. When the CMD window opens, I see the following: ...

    When the CMD window opens, I see the following:

    The filename directory name, or volume label syntax is incorrect.
  3. Another CMD Line Batch File to C++ Question

    I am trying to follow a working example of something I have done a couple of years ago:




    #include <cstdlib>
    int main(void)
    {
    std::system("\"C:\\Program Files (x86)\\Runtime...
  4. Replies
    8
    Views
    5,446

    Elysia, I was not able to get the std::cout...

    Elysia, I was not able to get the std::cout working. When I start the .exe, the CMD window is blank on the inside as opposed to when I used the batch file.

    After a bit of head scratching, I...
  5. Replies
    8
    Views
    5,446

    Adding another "\ worked :D Now I will spend...

    Adding another "\ worked :D

    Now I will spend some time taking it all a part to see why it worked so I understand it for future reference.

    Thanks!!
  6. Replies
    8
    Views
    5,446

    I am having a bit of a problem with the system...

    I am having a bit of a problem with the system function() simple solution code...

    Dev-C++ 4.9.9.2
    New .cpp file
    Typed, not copied, the code from the previous post.
    When I went to compile it, I...
  7. Replies
    8
    Views
    5,446

    GReaper - I just signed up for a six week online...

    GReaper - I just signed up for a six week online class "C++ for the Absolute Beginner" to give me a good start on the basics. From there I hope to do some self paced learning after finishing the...
  8. Replies
    8
    Views
    5,446

    Newbie Question: CMD Line Batch File to C++

    I have just started to find the need to create cmd line batch files and I want to convert them to an .exe file for security reasons. I don't want to use a ".bat to .exe" converter because I would...
Results 1 to 8 of 8