|
corqspy Newbie
Joined: 09 Sep 2002 Posts: 5 Location: USA
|
Posted: Fri Sep 13, 2002 4:13 am
Command line syntax question (#LAUNCH) |
I've successfully gotten zmud to open notepad as I please for taking notes etc, but I'd like it to launch and open that same set of continuing notes everytime, and my knowledge of command line parameters is woeful, but so far I have:
#LAUNCH c:windowsnotepad.exe
I've tried entering the absolute path of the filename I'm trying to open, but I can't seem to nail down the parameter I need to make it the file I need. All suggestions Appreciated. Thanks! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Sep 13, 2002 4:25 am |
#LAUNCH {c:windowsnotepad.exe filename.txt}
#LAUNCH {c:windowsnotepad.exe c:documentsmudnotesfilename.txt}
Not sure if the second example will work, zMUD doesn't like to open files outside its own directories.
LightBulb
Senior Member |
|
|
|
corqspy Newbie
Joined: 09 Sep 2002 Posts: 5 Location: USA
|
Posted: Fri Sep 13, 2002 5:19 am |
Well the clue about keeping the document inside the ZMUD dir seemed to help - I'd tried it with the brackets and without - went back to your example but kept in in the native directory and that seems to work - much thanks!
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Sep 14, 2002 12:00 am |
The problem in general is Windows handling of long directory names. Even with the latest NTFS setup support for old MSDOS filenames are given preference. In order to over come this you must use quotes.
#LAUNCH {c:windowsnotepad.exe ~"c:documentsmud notesfile name.txt~"} |
|
|
|
|
|