|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: 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? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
oldguy2 Wizard
Joined: 17 Jun 2006 Posts: 1201
|
Posted: Fri May 02, 2008 11:11 pm |
Excellent thanks.
|
|
|
|
|
|