Difference between revisions of "Running on a USB flash drive"

From EditPlus Wiki
Jump to: navigation, search
(See also)
m (Reverted edits by Solo230 (talk) to last revision by ElfQrin)
 
Line 57: Line 57:
 
==See also==
 
==See also==
 
*[[Feature Requests#Portable EditPlus|Feature Requests for Portable EditPlus]]
 
*[[Feature Requests#Portable EditPlus|Feature Requests for Portable EditPlus]]
Many people who would like to lose a few pounds think that the treadmill plays an absolute essential role in their weight loss.http://www.meizitangstore.com/ , After all, if the doctor says you should run for 60 minutes a day on the treadmill, shouldn't you listen to him? Well I'm going to challenge you to throw out traditional advice and skip the treadmill and get better results if you do so.http://www.japan2daydietlingzhi.com/ ,
 
 
 
 
One of the reasons that the treadmill is prescribed by doctors is because any activity is better than no activity.http://www.meizitangbotanicalslimming.us.com/ , And when you hop on the treadmill, no matter if you're distracted reading a book or watching TV, you're still staying active.http://www.meizitangbotanicalsoftgel.us.com/ ,
 
 
But if you're really serious about losing the weight, and want to do it as fast as possible, you should instead focus on raising your resting metabolic rate. This is the amount of calories that your body burns during the day while you're doing nothing.
 
 
If you didn't know you could make it so your body burns fat on auto pilot you're in for a treat!
 
 
There's two basic ways that your resting metabolic rate can be increased. The first is just by having more lean muscle on your body. Each pound of muscle on your frame will burn a certain number of calories every day to maintain itself. So the more the better right? (Well...maybe not body-builder status)
 
 
The second way to increase your resting metabolic rate is by exercising vigorously. When you work out hard, you'll break down your muscle tissue. Then your body has to expend a lot of energy (in the form of calories) to rebuild that tissue.
 
 
By working out hard you'll greatly increase your resting metabolism, making it easier for you to burn fat and keep it off for good.
 

Latest revision as of 19:25, 1 December 2011

As we all already know, EditPlus is an extremely handy and efficient text editor. Wouldn't it be nice if you could install EditPlus on a portable USB flash drive (aka thumbdrive, Flash Drive, USB jump drive) so that you can take it anywhere. Are you a programming student or web design student? Does your school's computers have USB ports? If so, this tutorial is for you.

Prerequisites

In order to install EditPlus on your thumb drive, you will need the following:

  * A computer with Admin privileges (your computer at home, for instance)
  * A USB flash drive (jumpdrive, thumbdrive, portable USB hard drive, whatever...)
  * Access to the internet.

Installation

Step 1) Find a computer where you have administrative privileges, like your home computer (hopefully). Chances are, you won't be able to do this on a properly secured school computer.

Step 2) Visit EditPlus.com and download the installation files.

Step 3) Install EditPlus on your USB flash drive.

Step 4) If you haven't done so already, purchase EditPlus. Support this great software.

Usage

USB flash drives are automatically assigned a drive letter by Windows. Chances are, that the drive letter assigned to your flash drive will vary depending on the classroom or lab the computer is in. If you open EditPlus and it says that it cannot find any of the configuration files, continue loading EditPlus while canceling all the error boxes that appear. Then, in EditPlus, click on Tools -> Ini File Directory. Change this from "E:\EditPlus" to ".". This will place all INI configuration files in the directory EditPlus is launched from.

Now you need to change the file paths in the INI files. You can do it either from inside the application or editing configuration files manually.

If you want to do that from EditPlus, open the Preferences by clicking Tools -> Preferences. The first thing to update is the syntax highlighting and auto completion in Preferences -> Files -> Settings & syntax. Select each file type and delete the file path in front of the filename. In other words, change "E:\EditPlus\cpp.stx" to "cpp.stx" and repeat for HTML, Perl, etc. If you prefer to keep a path, use ".\" (which means "current directory" in front of the file name; example: ".\cpp.stx"). The next thing to update is the template files in Preferences -> Files -> Templates. The last change is to update the Spell checker dictionary in Preferences -> Tools -> Spell checker. Once you are changed all the file types and templates click Apply.

If you prefer to edit configuration files (which is probably quicker), open "template.ini" and "setting.ini" and replace any occurrence of "X:\Program Files\EditPlus 2" (or the actual path where your copy of EditPlus was stored) as ".".

The last file path is the "WorkSpace Path" parameter in "editplus.ini" (where files are saved by default). Change it to ".". However such path contains the last directory you've used to load or save files and it's likely to be changed regularly.

If you get an error message when you open a file simply click Document -> Refresh STX/ACP.

Potential Problems

EditPlus v2.21.381

One thing I've noticed is EditPlus does not respect the 'INI File Directory' setting when opened by the shell extension (eg. [right-click]->EditPlus). The problem occurs when EditPlus is not running, and then opened with a right click, EditPlus looks for all the syntax/ctl/acp files in the folder where editplus.exe is located and not where they have been defined to be from the ini files. This behavior is inconsistent so it is most likely a bug.

I have setup EditPlus to have all relative paths with files sorted into appropriate folders as shown below, which works fine when editplus is opened first and the file to be edited is opened second:

├───acp_files
├───apps
│   ├───cobol
│   ├───esc
│   ├───html_tidy
│   ├───par
│   └───php
├───ctl_files
├───dictionary  // (user-dict)
├───ini_files
├───syntax_files
├───templates
├─.(dll's and all other files)
├─editplus.exe


See also