Answer» I was TRYING to make a program in c++ that would example, insert a COPY of its self on the desktop (windows 98) so i put this:
#include #include
int main() {
system("copy %0 c:\windows\desktop\Prog.exe"); }
but when I compile it, it DISPLAYS the message 'unknown escape sequence \w \d \p' what do I do?try
system("copy [yourFileName.exe] c:\windows\desktop\Prog.exe");
it should default in your debug folder where your exe lives the above suggestion will give the same error. Although it won't matter, since if UNLISTED hasn't figured out what escape sequences are after 6 years I doubt that anybody can be MUCH help. Haha BC i was bored waiting for someone to help with my question and figured i would answer some unanswer questions.
|