Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
corqspy
Newbie


Joined: 09 Sep 2002
Posts: 5
Location: USA

PostPosted: 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!
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
corqspy
Newbie


Joined: 09 Sep 2002
Posts: 5
Location: USA

PostPosted: 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!
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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~"}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net