English Amiga Board

Go Back   English Amiga Board > Support > support.Apps

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

rare_j's Avatar
Join Date: Apr 2005
Location: London
Posts: 834
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, 09:59   #2
CON: artist
ppill's Avatar
Join Date: Feb 2006
Location: Poland
Age: 37
Posts: 1,158
Try this (asterisk):

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

rare_j's Avatar
Join Date: Apr 2005
Location: London
Posts: 834
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, 09:44   #4
Registered User
r6stu's Avatar
Join Date: Jul 2005
Location: Southampton
Age: 38
Posts: 101
On other os's you use a single quote for the file name eg "'Bad File Name'"
r6stu is offline  
Old 19 October 2007, 11:08   #5
Registered User
smoorke's Avatar
Join Date: Jul 2007
Location: Ghent/Belgium
Age: 37
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 11: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 18:51
AmigaGuide: Can I launch a WHDLoad game from it? Zetr0 support.Other 51 18 January 2011 08:17
hwref in amigaguide yoki Coders. General 2 15 July 2009 13:45
looking for Amigaguide.library v44.5 patch voxel request.Apps 5 03 October 2006 20:44
AmigaGuide Iron Butterfly request.Apps 7 17 July 2003 09: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 17:06.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06015 seconds with 12 queries