English Amiga Board

Go Back   English Amiga Board > Support > support.Apps

Thread Tools
Old 16 September 2019, 15:08   #21
son of 68k
meynaf's Avatar
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,605
Originally Posted by Photon View Post
Skimmed, sorry if I misread sth. But filenames with spaces always require "", regardless of prepending Execute or not, and this is not a bug or sth unusual. If it shows the s attribute when you type List, the script should start just by typing its name. You can verify this by putting an echo "Running" as first line. If that shows and then it stops the error is thrown by some line in the script.

If the s attribute isn't showing, this could be from FAT formatted file system or sth?
The problem is that Execute command (as invoked indirectly by cli or WB) doesn't work with quotes - but works when invoked directly.

The following demonstrates this :
4.Ram Disk:> echo "echo toto" >"script with spaces"
4.Ram Disk:> protect "script with spaces" +s
4.Ram Disk:> execute "script with spaces"           
4.Ram Disk:> "script with spaces"                   
EXECUTE: Can't open script with spaces 
object not found
4.Ram Disk:>
And same bad result when double-clicking the pseudo-icon from WB.
meynaf is offline  
Old 16 September 2019, 20:28   #22

Photon's Avatar
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,772
Confirmed, weird. OK, maybe fixed in 3.1.4?
Photon 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
$100+ bounty, make script to compile Amiga source Anachronist request.Other 0 18 November 2018 07:14
How to make an Workbench Icon running a CLI Script ? Marskilla support.Other 9 27 April 2016 00:11
How do I make my own shortcuts on the desktop? Gordon support.Other 4 29 March 2009 19:51
Italian version of BAT ? dungeon.master request.Old Rare Games 0 23 April 2006 01:12

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 00:04.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Page generated in 0.05999 seconds with 16 queries