playing games from another directory?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers playing games from another directory?
# 1  
Old 09-27-2009
playing games from another directory?

If "photopia.dat" is a game. To play it, you would normally type "frotz photopia.dat" (assuming you are in the directory where photopia.dat resides).

But what if I'm in my home directory, photopia.dat is in the "games" directory, and I want to play it without switching directories? What command would I use?
# 2  
Old 09-27-2009
Hi,
one way could be to type
cd X;frotz photopia.dat
where X=the name of the directory where photopia.dat resides, or
create a wrapper, a shell script that does it for You.
# 3  
Old 09-27-2009
Code:
frotz ~/games/photopia.dat

 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Where Are the Games?

Hi! I'm new to the site, and today I clicked on "Banking", curious as to what that was about. Aside from being able to "buy" things with these points, it appears there are some games available, on which you can wager your points. While I could access the "high scores", I could not find the... (14 Replies)
Discussion started by: sudon't
14 Replies

2. Ubuntu

use VM to play games in Windows (Intense Games)

I have Ubunut installed on my desktop AMD 6 Core 3.2 (will be getting the bulldozer AMD 8 Core when it releases) 16 GB of DDR3 1333 RAM SSD some HDD's Nvidia 560 ti 1GB My question is, how can I or can I even get a Win 7 VM to play games as well in a main install. Give it 10 GBs of RAM... (0 Replies)
Discussion started by: ochieman2000
0 Replies

3. Homework & Coursework Questions

Playing games from another directory?

If "photopia.dat" is a game. To play it, you would normally type "frotz photopia.dat" (assuming you are in the directory where photopia.dat resides). But what if you are in your home directory, photopia.dat is in the newly created "games" directory, and you want to play it without switching... (1 Reply)
Discussion started by: greeky
1 Replies

4. UNIX for Dummies Questions & Answers

games in unix?

I was wondering if anyone had a script file for a game or a puzzle in a script file? Or something fun, like a quiz (2 Replies)
Discussion started by: JamieMurry
2 Replies

5. UNIX for Dummies Questions & Answers

UNIX games?

Does anyone know of any unix-based games? (1 Reply)
Discussion started by: danceofillusion
1 Replies

6. What is on Your Mind?

Games?

So what kind of games we all play? If any? I like RTS, C&C fan here all the way :p (8 Replies)
Discussion started by: woofie
8 Replies

7. UNIX for Dummies Questions & Answers

lokie games?

for some reson lokie games do not let me play the games on my linux box i go and install it but will not let me play them acts like it wants to run the game but will not open what do i do i have return to wolfinstine and unreal 2003 and seriurs sam and quake 1,2,3 and starwars jedi 2 and... (1 Reply)
Discussion started by: amicrawler2000
1 Replies

8. UNIX for Dummies Questions & Answers

games

i have installed SDL int /opt and i installed a game with pkgadd in /usr/local and when i try to start the game i says: ld.so.1: ./gamename: fatal: libSDL-1.1.so.0: open failed: No such file or directory what should i do (1 Reply)
Discussion started by: CreamHarry
1 Replies
Login or Register to Ask a Question