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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD Beta Forum
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri May 02, 2008 9:41 pm   

Launch
 
Well this worked fine earlier. Now I can't get it to work.

Code:
#launch {C:\Program Files\Mozilla Firefox\firefox.exe $newLog}


If I add #say $newlog it prints the entire path to the screen. However, it only puts "file:///C:/Documents" in the browser. Earlier it opened the whole file path. Suddenly it breaks at the space. Anyone know why it would do that?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri May 02, 2008 10:23 pm   
 
The MS specification for paths which contain spaces is that they should be surrounded in quotes. I guess Zugg fixed something and didn't tell us.
Code:
#launch {"C:\Program Files\Mozilla Firefox\firefox.exe" %char(34)$newLog%char(34)}

_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Fri May 02, 2008 11:11 pm   
 
Excellent thanks.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD Beta Forum 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