How to identify a networkpath like
winrunner.I tried "\\\\Machinename1\\C\\folder1\\filename.doc" . But it doesnot work.Can u suggest any alternative
thanks in advance
What are you trying to do?
E.g. invoke_application will work with networkpath-parameters (the way you wrote it).
thanks for the reply
But it has not written anything to the file.
Did you do a file_close?
Also, it appears you have reference or syntax error:
Have you tried this?
[ 07-05-2006, 05:38 AM: Message edited by: JakeBrake ]
tom, writing ascii text to a .doc file is going to do nothing more than corrupt it.
Besides, you need to look at how you are constructing your file_printf() command, it is incorrect.
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">file_printf("\\\\Machinename1\\C\ \folder1\\filename.doc","%s",text); </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">
Insanity: doing the same thing over and over again and expecting different results
Is "C" within your networkpath a valid share name? Or do you want to access the C:-drive?
In this case you could try using "C$" instead of "C".
(Refers to the same issue Jake has already pointed out, but with different solution)