Welcome, Guest. Please login or register.

Author Topic: Batch files for Amiga  (Read 1518 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline dougalTopic starter

  • Hero Member
  • *****
  • Join Date: Oct 2005
  • Posts: 1221
    • Show only replies by dougal
Batch files for Amiga
« on: October 25, 2010, 11:53:13 AM »
How does one create a batch file or a script or whatever for amiga?

I would like a batch file for e-uae on morphos so that i dont have to keep entering all its parameters in shell.
A1200HD- Blizzard 1230IV / 64Mb / Kick 3.1 / OS 3.9 / 20GB HD
A4000 040 @33Mhz -Kick 3.1 / 16MB
A2000 Rev4.4 - \'030 @25Mhz / 8MB / Kick 3.1 / ClassicWB
CD32 -     Stock (W/ 2 CD32 Controllers]
A500 Plus - 68000 / 2MB Chip / 2Mb Fast / 2.04/1.3 / A590 / A570
A600HD - 2MB Chip / 8MB Fast / 2GB CF HD / Kick 3.1
CDTV

PowerMac G4 1Ghz (MorphOS / Leopard)

[url]http://amigamap.com/us
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: Batch files for Amiga
« Reply #1 on: October 25, 2010, 11:57:49 AM »
You simply put the same text you'd type out in the shell into a text file, save it and then make it into a script using:

protect +s


If you put this script into your S: directory (making sure it handles any required changes of directory itself internally) , you should just be able to type the name of the script and it'll run like any other command.
int p; // A