|
Register or have you forgotten your password?
|
|
|
| Alternative Operating Systems This forum is dedicated to discussions of alternatives to the Commodore Amiga Platform, such as Linux distributions, FreeBSD, OpenBSD, and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||||||||
|
Defender of the Faith
![]()
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 1,621
|
Note: I've posted this in the "alternative operating systems" forum. The question is Amiga related (read below).
I downloaded a little command line executable program that can run in windows and will play Amiga .anim files. You have to run it from the Windows command line. No problem, it runs fine. But I constantly have to move the little executable player utility into each folder where the animation is so that I can do: c: iffplayanim animationname.anim -loop Of course if the executable (iffplayanim) is not in the folder, the command line interface cannot find it. So....HOW can I make this little executable executable no matter what folder I am in? I.e. I want to put it in one place where Windows CLI will always be able to find the utility, instead of having it only looking in the folder I am currently in. From reading online, apparently I have to put it in some sort of PATH. But there are no clear instructions on how to do this. If this were an Amiga, I would simply drop the executable into the C/ folder of the Workbench partition. I'm running Windows XP. Thanks. |
||||||||
|
|
|
|
|
#2 | ||||||||
|
Premium Member
Join Date: Aug 2002
Posts: 1,100
|
The quick and dirty way is to copy into your path somewhere - traditionally in C:\WINDOWS\SYSTEM32 or somesuch. However, I can't remember what Windows 7 uses (is that what you're using?)
The correct way is to add it to your path, as you say. I'm not on a Windows machine right now, but it's easy enough. A quick google would show many webpages, but here's one for starters which looks about right: http://www.mathworks.co.uk/support/s...ZLK/index.html Hope that helps!
__________________
-- Ian Gledhill ian.gledhill@btinternit.com (except it should be internEt of course...!) Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness! |
||||||||
|
|
|
|
|
#3 | ||||||||
|
Defender of the Faith
![]()
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 1,621
|
I have tried putting the .exe file in BOTH the C:\Windows\ and the C:\Windows\System32\ folder and I just get the message "iffanimplay is not recognized as and internal or external command, operable program or batch file".
Both these paths are specified in the Windows XP environment variables. But when I drop iffanimplay.exe into the folder where I am currently viewing in command line, it works. Strange...I can't figure out why it won't work. Last edited by ral-clan; 03-18-2012 at 03:03 PM.. |
||||||||
|
|
|
|
|
#4 | ||||||||
|
Defender of the Faith
![]()
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 1,621
|
Figured it out....
it said %SystemRoot%\windows\ etc. I had to add C:\Windows\.....etc. to the PATH. |
||||||||
|
|
|
|
|
#5 | ||||||||
|
Kindred of Babble-on
![]()
Join Date: Jul 2006
Location: Tallahassee, FL
Posts: 2,099
|
If you had to add something to the PATH, I would have recommended you just put it somewhere like C:\Program Files\IFFAnim\blah.exe. Also, executables without one of the expected extensions will not execute unless specifically directed to do so.
|
||||||||
|
|
|
|
|
#6 | ||||||||
|
Kindred of Babble-on
![]()
|
What I do, generally, is to make one folder for all my utility programs and then add that to the path; that way I don't clutter things up with three dozen different directories all in the same environment variable. 'Course, there's times where that's not practical, but I do find it handy.
__________________
Amiga 1200 (KS3.1/ClassicWB3.1, 4GB HD, 34MB RAM, 68030 @ 50MHz) DEC VAXStation 4000/60 (OpenVMS 7.3, 9GB HD, 104MB RAM, KA46 @ 55MHz) DEC MicroPDP-11/73 (RT-11, 32MB HD, 4MB RAM, KDJ11 @ 15MHz) "'Legacy code' often differs from its suggested alternative by actually working and scaling." - Bjarne Stroustrup |
||||||||
|
|
|
|
|
#7 | |||||||||
|
Cult Member
![]()
Join Date: Sep 2010
Location: Palencia (capital of the mythical Vaccean Kingdom) - Spain
Posts: 641
|
Quote:
__________________
Amiga 500 with ROMs 1.3-2.05 and M-Tec AT 500 with hard disk and 4MB Ram. WinUAE + Original OS 3.5&3.9 running on Intel Atom board. Sam440ep 600 MHZ(altmost dead). Sam440ep 733 MHZ. Sam460ex 1 GHz + OS 4.1 + Update 6. MacMini 1.5 GHz + MorphOS 3.1. |
|||||||||
|
|
|
|
|
#8 | ||||||||
|
Slacker
Join Date: May 2003
Location: San Francisco, California, US
Posts: 1,514
|
%SystemRoot%\system32 is normal. When stored in the registry properly as a REG_EXPAND_SZ value, environment variables in PATH are properly expanded. If adding C:\windows\system32 to PATH fixed the problem, PATH had most likely been updated by a legacy setup/installer not correctly designed for Windows NT. It was a common blunder around the turn of the century. Simply editing and saving PATH without making changes would also have resolved the problem.
Trev
__________________
Sam440ep-flex 733 MHz/1 GB RAM/Radeon 9250/AmigaOS4.1 Update 2 borked A1200/Blizzard1260+SCSI-IV/Z4+MediatorZIV/Deneb/Voodoo3/CatweaselMk3 more borked A1200/MBX1200z/Indivision A500/clockport/RRNet A600/A603 Power Mac G4 QuickSilver/MorphOS 2.6 |
||||||||
|
|
|
|
|
#9 | ||||||||
|
Defender of the Faith
![]()
|
Why not just put the executable where ever you want then right-click on your .anim file and select "Open With..." and browse to your executable and check the checkbox that says "Always use the selected program to open this kind of file" ?
This way just double-clicking any .anim file will run that player... |
||||||||
|
|
|
|
|
#10 | |||||||||
|
Defender of the Faith
![]()
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 1,621
|
Quote:
|
|||||||||
|
|
|
|
|
#11 | ||||||||
|
Defender of the Faith
![]()
|
|
||||||||
|
|
|
|
|
#12 | ||||||||
|
Slacker
Join Date: May 2003
Location: San Francisco, California, US
Posts: 1,514
|
__________________
Sam440ep-flex 733 MHz/1 GB RAM/Radeon 9250/AmigaOS4.1 Update 2 borked A1200/Blizzard1260+SCSI-IV/Z4+MediatorZIV/Deneb/Voodoo3/CatweaselMk3 more borked A1200/MBX1200z/Indivision A500/clockport/RRNet A600/A603 Power Mac G4 QuickSilver/MorphOS 2.6 |
||||||||
|
|
|
|
|
#13 | ||||||||
|
Defender of the Faith
![]()
Join Date: Feb 2006
Location: Ontario, Canada
Posts: 1,621
|
No. I found it on the web a few years ago:
http://www.amiga.org/forums/showthread.php?t=50985 But the original author's website (for the Windows port) seems to be offline now (I still have a copy of the executable). It's an excellent little command line anim player for Windows that has played everything I've thrown at it, AND it can export the animation as bitmap frames for re-compilation as and AVI or other video file. I think it's been ported to AROS, OS4.0 and MorphOS too: ftp://ftp.club.cc.cmu.edu/pub/aminet...nimplay.readme Anyway, I've got it all sorted now. I can make anims using Alladin4d or DPaint in UAE and pop over to the Windows side of the computer in a second and still view them. |
||||||||
|
|
|
![]() |
| Bookmarks |
| Tags |
| command , executable , make , windows |
| Thread Tools | |
| Display Modes | |
|
|