I have a script that I run to load my text editor (NoteTab Pro) which runs under Wine. Here is the script:
#!/bin/bash wine "/home/lee/.wine/drive_c/Program Files/NoteTabPro7/NotePro.exe" "z:$(echo $1)" # | tr '/' '\\')"
To be honest, I have no idea what the second portion does but I know w/o it I can’t open a file in the program by right-clicking on it. However, using the second portion always produces the error,
"Cannot open 'z:' because it's a folder". “z” is the virtual drive used by Wine. Pressing
[ENTER] closes the error box and loads the program.
I need to either figure out the best way to write this script (I need to be able to open files with right-click) or add a carriage return to take care of the error message. Any ideas?