2 questions
-
DOS prompt i use VC++ 6.0, what header can i include and what command can i use to copy the contents of a DOS screen to a file, like if i wanted to copy the directory of a folder to a file. EMAIL i made a program that displays info and i just copy and paste it to an email, is there anything i can do to just directly send the info to the email? i doubt it's possible, i want to send it to NETSCAPE COMPOSER, thanks
-
DOS prompt i use VC++ 6.0, what header can i include and what command can i use to copy the contents of a DOS screen to a file, like if i wanted to copy the directory of a folder to a file. EMAIL i made a program that displays info and i just copy and paste it to an email, is there anything i can do to just directly send the info to the email? i doubt it's possible, i want to send it to NETSCAPE COMPOSER, thanks
It's very simple. In DOS world, try this: c:\> dir *.* > myfile.txt In this manner, all of reports from dir command will be redirect to myfile.txt you can use ShellExecute or ShellExecuteEx API to do that for you. Remember that "*.* > myfile.txt" is argument of dir command. A. Riazi