I have a VBScript that reads and records in txt file after pressing the button:
Set myFSO = CreateObject("Scripting.FileSystemObject")
Licznik_ID = myFSO.OpenTextFile("C:\Etykieta_NC\Counter\Counter.txt").ReadAll
Licznik_ID = Licznik_ID + 1
myFSO.OpenTextFile("C:\Etykieta_NC\Counter\Counter.txt",2,True).Write(Licznik_ID)
I would like to create a relative path to the file
"C:\Etykieta_NC\Counter\Counter.txt"
to
"C:\Etykieta_NC\Form"
How to do it in VBScript?