CSE 111, Fall 00, HOW TO SAVE & LOAD KAREL FILES

CSE 111, Fall 2000

### HOW TO SAVE & LOAD KAREL FILES

There are 3 ways to save and load Karel files:

1. Using your own copy of Karel on your own Windows machine
2. Using a floppy disk on a public-site CIT Windows machine
3. Using UBFS

#### 1. Using your own copy of Karel on your own Windows machine

All you have to do is save and load worlds and programs by clicking on the appropriate buttons in the Karel program. The files will be saved to, and loaded from, whichever folder on your own machine that you select.

If, however, you want to use both your own machine (to work at home) as well as the public-site CIT machines (to continue your work on campus), then you will need to use one of the other two methods below instead of saving your files on your own machine.

#### 2. Using a floppy disk on a public-site CIT Windows machine

If you are using the public-site CIT Windows machines, the easiest way to save and load is by carrying around your own floppy disk (properly formatted for "IBM" machines; you can buy them preformatted).

Then you just save to, and load from, the floppy disk (usually in disk drive A:).

The only disadvantage to this method is that if you lose your disk, you lose all your work. Be sure to put your name and phone number on the disk in case you do lose it, in the hopes that some kind person will return it to you.

#### 3. Using UBFS

UBFS is the University at Buffalo File System. It is a way to save files from any computer so that they can be reused from any other computer. The advantage is that your files are safe. The disadvantage is that the system is a bit cumbersome to use.

For detailed information, see the CIT webpage "Welcome to UBFS Service" (`http://wings.buffalo.edu/computing/ubfs`)

To save a Karel file to your UBFS space, do:

1. Click on the "save" button in Karel (there's one for saving worlds and one for saving programs); a window will pop up asking you to choose a drive or folder in which to save the file.

2. Select the S: drive

3. Select the folder where you want to save the file

4. Enter a filename

5. Press "Save"

   This would save the file to your UBFS space, just as if you were saving on your own machine.

To open a file saved in your UBFS space, do:

1. If you are working at home, then:

   - Run UBFS

   - Logon with your IT name and Password

     If everything has been done correctly, this will mount the S: drive and the T: drive in My Computer.

     (else, if you are working on a public-site CIT Windows machine, you do not need to do this, since UBFS is already installed on the public-site machines)

2. Run Karel

3. Go to File --> Open

4. Switch to the S: drive

5. Find and double click on the Karel file you wish to open

   The file is then opened from UBFS with Karel, just as if it were on another local hard drive on the machine (just a little slower, of course, depending on your connection speed).

If any of the above information about UBFS is unclear, or if you require additional help, please stop by the Help Desk, 216 Computing Center, or call them at (716) 645-3542. The Help Desk is open Mon - Thurs 9AM to 10PM, Fri 9AM to 5PM. Sat 12PM to 5PM, and Sun 12PM to 5PM, phone and e-mail only. Please visit their webpage located at `http://helpdesk.buffalo.edu/`