English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 17 July 2018, 12:52   #21
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
I've just tried the above script (the one in the initial post) and it appears to be fine (aka works for me).
My guess is that if something's wrong here, it's not the script itself.

DH1: and DH3: are device names. Are they still the same now that peecee dirs are used instead of hardfiles ?

And again i suggest using SnoopDos. It would tell which file the script fails to open.
meynaf is offline  
Old 17 July 2018, 13:15   #22
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
PROBLEM SOLVED!



AND TO THE DUNCE CORNER WITH FOEBANE!

I solved the problem, although I'm not sure how it came about, but I neglected to mention before that I had been editing the script file IN WINDOWS with Notepad++. I had done this many times before with no issues, but something in Notepad++ must've changed, because it was formatting errors in the text that was causing the script file to fail. As soon as I re-saved it in DOpus Edit, strange characters appeared in the script. As soon as I took those out and saved it again, IT WORKED.

I am such a prat and I do apologise for wasting people's time on something which is my fault.

Also, I have just now run the script and extracted the archives to Windows folders under WinUAE. There should be no problems as WinUAE is managing the folders, but I'll let everyone know in due course.

Once again, sorry. And thanks. Don't hit me.
Foebane is offline  
Old 17 July 2018, 13:17   #23
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Foebane View Post
I solved the problem, although I'm not sure how it came about, but I neglected to mention before that I had been editing the script file IN WINDOWS with Notepad++. I had done this many times before with no issues, but something in Notepad++ must've changed, because it was formatting errors in the text that was causing the script file to fail. As soon as I re-saved it in DOpus Edit, strange characters appeared in the script. As soon as I took those out and saved it again, IT WORKED.
I've seen that before if I edit a simple text file in Notepad, move over to the Amiga and then edit in a text editor.

Those "strange characters" you talk of are carriage returns...
DamienD is offline  
Old 17 July 2018, 13:23   #24
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Notepad++ can manage Amiga files pretty well. Just ensure it says "UNIX" instead of "Windows".
meynaf is offline  
Old 17 July 2018, 13:44   #25
Foebane
Banned
 
Join Date: Sep 2011
Location: Cardiff, UK
Age: 51
Posts: 2,871
Quote:
Originally Posted by DamienD View Post
I've seen that before if I edit a simple text file in Notepad, move over to the Amiga and then edit in a text editor.

Those "strange characters" you talk of are carriage returns...
Yes, I know all about the PC using Line Feed AND Carriage Return (two ASCII characters) for the end of every line in a text document, whilst the Amiga only used Line Feeds. Or was it the other way around?

When I was in college in the 1990s, I used CrossDOS to be able to edit text documents for work and programming assignments in my BTEC Computing course, but more often than not I had to edit out the Carriage Returns when going from one platform to another, one way of course, because the document always had double spacing, one line of text followed by a blank.

I saw that again today, although only lines I had edited were affected, and the rest had unknown characters at the end of the lines, represented by little rectangle characters.

Anyway, I fixed all that now and all is right again.
Foebane is offline  
Old 17 July 2018, 17:26   #26
Hedeon
Semi-Retired
 
Join Date: Mar 2012
Location: Leiden / The Netherlands
Posts: 1,993
Quote:
Originally Posted by DamienD View Post
>> is append to, where as a single > is just output / redirect to.

Foebane has used the >> so the log doesn't get overwritten and is appended to
Learned something, thanks!
Hedeon 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
A600, kipper2k's 4mb board, "Whdload failed returncode 10" portarinos support.Apps 8 10 April 2015 16:56
"Unable to open your tool 'Installer' "-Workbench 3.1 Mr B support.Apps 7 31 March 2011 00:14
Unable to open your tool "directory opus' skeediddley support.Apps 3 04 December 2010 03:09
WHDLoad - "Unable to Open your Installer" Sober1977 support.Apps 11 26 December 2007 18:34
"Unable to open your tool" S. Campbell support.WinUAE 31 12 September 2004 20:39

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 02:19.

Top

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