My code in VBS looks like this:
Dim oShell
Set oShell = Wscript.CreateObject("WScript.Shell")
filename = "C:\Users\Public\Documents\Copy_File.txt"
oShell.Run(filename)
Is there any way I can leave this txt file that I need to access within my (script) folder and fetch it without needing a literal path?
Ex: Script inside Copy folder, txt file inside Copy folder and path passed in filename something like: ..\Copy
?
This way I still can not.