hi everybody
I'm trying to create a Textfile in a USB pendrive connected to SIEMENS MP277, using a script in winCCflexible 2008.
In the winCC user manual, I found this code:
This is exactly the code I found in the user manual, I've only changed the file path, using the one I see in the control panel of the MP277 when I open the USB key in Filemanager.
Can someone explain me why I don't find any file in the USB key after pressing the button the script is associated to?
I'm trying to create a Textfile in a USB pendrive connected to SIEMENS MP277, using a script in winCCflexible 2008.
In the winCC user manual, I found this code:
Code:
Dim fso, MyFile
Set fso = CreateObject("Scripting.FileSystemObject")
Set MyFile = fso.CreateTextFile("\Storage Card USB\testfile.txt", True)
MyFile.WriteLine("This is a test.")
MyFile.Close
This is exactly the code I found in the user manual, I've only changed the file path, using the one I see in the control panel of the MP277 when I open the USB key in Filemanager.
Can someone explain me why I don't find any file in the USB key after pressing the button the script is associated to?