English Amiga Board

Go Back   English Amiga Board > Support > support.Apps

Thread Tools
Old 06 September 2007, 19:05   #1
Zone Friend

rare_j's Avatar
Join Date: Apr 2005
Location: London
Posts: 961
Amigaguide woes

I'm generating an amigaguide document with a button that contains a system command.The problem is the system command may be operating on a file that contains a space. The button looks like this:

@{"Open this file" system "more ram:bad file name.txt"}

That doesn’t work because of the spaces in the filename.

I want to wrap extra quotes around the path but I cant work out what the escape character is for quotes in this situation.

Any ideas?


PS. This greater goal is to automatically generate an amigaguide document with buttons that run all the whdload games found on the system
rare_j is offline  
Old 17 September 2007, 10:59   #2
CON: artist
ppill's Avatar
Join Date: Feb 2006
Location: Poland
Age: 39
Posts: 1,202
Try this (asterisk):

@{"Open this file" system "more *"ram:bad file name.txt*""}
ppill is offline  
Old 17 September 2007, 13:21   #3
Zone Friend

rare_j's Avatar
Join Date: Apr 2005
Location: London
Posts: 961
Doesn't work, unfortunately, but I found a workaround - make sure I don't have any spaces in my filenames!
rare_j is offline  
Old 19 October 2007, 10:44   #4
Registered User
r6stu's Avatar
Join Date: Jul 2005
Location: Southampton
Age: 39
Posts: 105
On other os's you use a single quote for the file name eg "'Bad File Name'"
r6stu is offline  
Old 19 October 2007, 12:08   #5
Registered User
smoorke's Avatar
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 38
Posts: 247
Send a message via MSN to smoorke
A backslash is the escape character. A backslash in front of the @ sign is used to escape it. The backslash has no effect as an escape character inside commands such as @ONOPEN or @{".." LINK ..}; in cases like these it is treated as a regular character.
Please note that Amigaguide V35 does not treat the backslash character as an escape character.

Found this in the 3.9NDK

Last edited by smoorke; 19 October 2007 at 12:36.
smoorke is offline  

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Amigaguide to PDF Josh request.Apps 28 18 August 2011 19:51
AmigaGuide: Can I launch a WHDLoad game from it? Zetr0 support.Other 51 18 January 2011 09:17
hwref in amigaguide yoki Coders. General 2 15 July 2009 14:45
looking for Amigaguide.library v44.5 patch voxel request.Apps 5 03 October 2006 21:44
AmigaGuide Iron Butterfly request.Apps 7 17 July 2003 10:23

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 18:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Page generated in 0.08195 seconds with 13 queries