Currently I'm working on WinRunner7.6 tool, I have a requirement where I have to copy the file from one location to other location and edit the content.
I have tried by creating a new file in location where I need the copy of the file and printed the content from the source file, but it also need to be edited.
Kindly help me.
Thanks in advance
just use a dos_system() command and build the string to use the copy command from the DOS commands that still exist.
dos_system ("copy <destination/file1> <destination/file2>");
Insanity: doing the same thing over and over again and expecting different results
I have to copy HTML files, I tried using the
dos_system command, but still no result. The file is not copied
following is the code i tried
dos_system ("copy C:\Inetpub\wwwroot\axis06.htm C:\axis006.htm");
Kindly help me
double backslash the string. Use '\\' instead of '\' as you are introducing control characters