24 February 2007, 19:32 | #1 |
Registered User
Join Date: Feb 2007
Location: Brussels / Belgium
Posts: 24
|
Executing command contained in .info files
Hi all,
Is there a command or something which allows to execute the command specified in an .info file from CLI as if I had clicked on it from workbench ? In fact I never use workbench, I'm always in a shell. Usually I use a hex viewer on the .info file and have a look at the bottom of the file so I can see the command. But when the command is complex and uses parameters, it's quite hard to tell in a hex editor. I guess I'm doing all wrong and that there's an easy way to do this. Maybe a command I'm not aware of. Someone can help ? PS: don't know if this is the good forum for this. |
25 February 2007, 03:39 | #2 |
Registered User
Join Date: Feb 2006
Location: Australia
Posts: 112
|
Try a little program called WBRUN (On Aminet). It will run a
program from the CLI and use any tooltypes (Arguments) specified by the icon of that program (If any) Cheers |
25 February 2007, 11:59 | #3 |
Junior Member
Join Date: Sep 2001
Location: No(R)Way
Age: 41
Posts: 3,185
|
OT; Offcourse this is the forum for this stuff AmigarAve ) Welcome btw.
|
25 February 2007, 23:15 | #4 | |||
Registered User
Join Date: Feb 2007
Location: Brussels / Belgium
Posts: 24
|
Quote:
Eg: magic_tool program.info Quote:
;-) Yeps, I thought that maybe the category of the forum was not appropriate Quote:
Thanks !!! As my amiga nostalgia is actually at 120%, I think you'll see me around for a while asking silly questions ;-) |
|||
27 February 2007, 16:27 | #5 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Something like that should be easy to code. Check Aminet if you may find something like this there. If you can't let me know and I will code this little tool for you then.
|
28 February 2007, 19:39 | #6 | |
Registered User
Join Date: Feb 2007
Location: Brussels / Belgium
Posts: 24
|
Quote:
My goal is just to make a little program that extract the command line to be executed contained in an .info file and print it to stdout. I guess this is a small number of code line in C using the appropriate .library Anyway I have no C compiler for amiga and the little C knowledge I had some time ago has gone on holiday. I would use this program in order to easily run WHDload games just by typing a command in the folder of the game. The script would remove the QuitKey if any and set QuitKey=F10 If on a rainy day you have time to do this I would really appreciate. Otherwise, could you point me what I need for quickly have a compiler with include files up and running ? I guess I can find all I want on aminet but I don't know what is the best and light C compiler out there and where to find the workbench include files if I need them. Thanks! |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Command line tool to insert files into an ADF? | cdoty | Coders. General | 1 | 07 December 2009 10:53 |
How to Create .info Files? | AmigaFan | support.Other | 6 | 25 January 2009 20:18 |
info on creating info files icons ? | Dimlow | New to Emulation or Amiga scene | 10 | 16 July 2008 19:28 |
.info files | Aljrob | support.WinUAE | 5 | 14 March 2007 15:42 |
New here with a question about .info files | jobro | Amiga scene | 14 | 24 November 2005 22:48 |
|
|