Directory Syntax Problem
I would like to launch a .txt file with a notepad via a script.
There must be a little syntaxe problem in my file path, but I can't figure it out:
logfile="my_log.txt"
openLog logfile outputOnly:true
"hello"
closeLog logfile
sysInfo.currentdir
shellLaunch "notepad.exe" sysInfo.currentdir + "\my_log.txt"
Does anyone know what's wrong?
Ewok
Comments
Ah, I got it! This is the
Ah, I got it!
This is the right syntax:
shellLaunch "notepad.exe" (sysInfo.currentdir + "\\my_log.txt")