English Amiga Board Amiga Lore



Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 24 February 2007, 19:32   #1
AMIGrAve
Registered User
AMIGrAve's Avatar
 
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.
AMIGrAve is offline  
AdSense AdSense  
Advertisement:
Old 25 February 2007, 03:39   #2
cooldude
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
cooldude is offline  
Old 25 February 2007, 11:59   #3
kriz
Junior Member
kriz's Avatar
 
Join Date: Sep 2001
Location: No(R)Way
Age: 31
Posts: 2,223
OT; Offcourse this is the forum for this stuff AmigarAve ) Welcome btw.
kriz is offline  
Old 25 February 2007, 23:15   #4
AMIGrAve
Registered User
AMIGrAve's Avatar
 
Join Date: Feb 2007
Location: Brussels / Belgium
Posts: 24
Quote:
Cooldude: 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)
Thanks for the tip. Anyway I was searching for a tool that would make it even easier. A tool that would take the .info file as argument and that would execute the stuff as if I had clicked the icon under workbench.
Eg:
magic_tool program.info


Quote:
Kriz: OT; Offcourse this is the forum for this stuff AmigarAve )

;-) Yeps, I thought that maybe the category of the forum was not appropriate

Quote:
Kriz: Welcome btw.

Thanks !!!
As my amiga nostalgia is actually at 120%, I think you'll see me around for a while asking silly questions ;-)
AMIGrAve is offline  
Old 27 February 2007, 16:27   #5
StingRay
move.l #$c0ff33,throat

StingRay's Avatar
 
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 4,928
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.
StingRay is offline  
Old 28 February 2007, 19:39   #6
AMIGrAve
Registered User
AMIGrAve's Avatar
 
Join Date: Feb 2007
Location: Brussels / Belgium
Posts: 24
Quote:
Originally Posted by StingRay
If you can't let me know and I will code this little tool for you then.
Mhhhh !
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!
AMIGrAve is offline  
AdSense AdSense  
Advertisement:
 


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

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:40.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Page generated in 0.10842 seconds with 11 queries