PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
im writing a command line encryption app (windows)... everything works, but the screen is a bit clutterd. how do i issue a clearscreen "cls" command to the command window so that i can clear the screen?
i wrote a command line php script that asks for a directory path, and a password, and encrypts all the files in the given direcotry. it also will decrypt in the same manor.
my only question is how do i issue a "cls" command to the command window to clear the screen between operations?
I think you would need to have the windows handle of the opened command prompt and be able to manipulate based off of this handle. I've never used those functions so I'm not sure what they return, if anything.
Can you send the "cls" command along with your other commands when you first open it. or does the cls command need to be invoked at different times?