How do you write file to location
Posted: 16 May 2020, 12:28
I want to know how I can save a location or find a location on someones pc.
Basically, I want the debug.txt file located where the script.exe is located.
so
C:\Users\auges\Desktop\Test\script.exe
C:\Users\auges\Desktop\Test\debug.exe
Is there away to change this to %user%<Script Location>\File here
Sorry if this is confusing. Other computers use my script and I need it save on their computers and read from their locations.
Basically, I want the debug.txt file located where the script.exe is located.
so
C:\Users\auges\Desktop\Test\script.exe
C:\Users\auges\Desktop\Test\debug.exe
Is there away to change this to %user%<Script Location>\File here
Sorry if this is confusing. Other computers use my script and I need it save on their computers and read from their locations.