Saved Bookmarks
| 1. |
Solve : How to delete the last line of a txt file? |
|
Answer» I am not saying you should read directly from the environmental variable in your program. I am saying pass it as a COMMAND line argument. This has nothing to do with a graphical interface. If your program was setup correctly to read a variable from input you COULD call your program from your batch file like so. avoids trailing spacecool, thanksQuote from: Squashman on June 13, 2012, 04:49:15 PM I am not saying you should read directly from the environmental variable in your program. I am saying pass it as a command line argument. This has nothing to do with a graphical interface. If your program was setup correctly to read a variable from input you could call your program from your batch file like so. hum... I see, next time i will try it!!! Thank you for your help!look for argv, argc, etc |
|