English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 16 September 2019, 14:08   #21
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 46
Posts: 3,541
Quote:
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 :
Code:
4.Ram Disk:> echo "echo toto" >"script with spaces"
4.Ram Disk:> protect "script with spaces" +s
4.Ram Disk:> execute "script with spaces"           
toto
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 online now  
Old 16 September 2019, 19:28   #22
Photon
Moderator

Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 4,766
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 06:14
How to make an Workbench Icon running a CLI Script ? Marskilla support.Other 9 26 April 2016 23:11
How do I make my own shortcuts on the desktop? Gordon support.Other 4 29 March 2009 18:51
Italian version of BAT ? dungeon.master request.Old Rare Games 0 23 April 2006 00: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 17:00.


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