EditPlus – Enable ‘Word Wrap’ Permanently

KB ID 0000675 

Problem

I work with text files a a lot, and while Notepad is great, sometimes I want to look at line numbers or do some spell checking, so I prefer EditPlus. The biggest problem with that is, by default word wrap is disabled. You can simply go to Document > Word-wrap, but it only affects the open document. I want word wrap enabled globally!

Solution

1. Whilst in EditPlus > Tools > Preference > File > Settings & syntax > Word Wrap > Tick “Enable word wrap” > OK > Apply > OK.

Related Articles, References, Credits, or External Links

NA

Stop EditPlus Creating .bak files

KB ID 0000825 

Problem

I use EditPlus 3 a lot for editing firewall configs, and just taking notes. But freshly installed it has the annoying habit of creating .bak (backup) files for every file you work on. I tend to keep the notes I’m working on on my desktop, so this can clutter it up with annoying icons.

Solution

1. Launch EditPlus > Tools > Preferences > Files.

2. Untick ‘Create backup file when saving’ > Apply > OK.

Related Articles, References, Credits, or External Links

EditPlus – Enable ‘Word Wrap’ Permanently

 

Windows – Cannot Save the ‘Hosts file’

KB ID 0000674 

Problem

Windows did this with Windows 7 (and Vista). If you attempt to edit the hosts file you will see the following.

You don’t have permission to save in this location. Contact the administrator to obtain permission. Would you like to save in the My Documents folder instead?

Solution

1. You could run an admin command window, and use the EDIT command, but Notepad is easier. Open the Apps page (Windows Key+Q) > Locate Notepad and right click it > Run as Administrator.

Note: YES Even if you are logged in as an administrator.

2. Now you can open the hosts file (make sure you change the file type to all files or notepad wont see it!). And you can then edit the file and save the changes.

 

Related Articles, References, Credits, or External Links

NA

Bulk Export Users From One Domain, and Import Into Another

KB ID 0000794 

Problem

I’ve written in the past about bulk importing users with CSVDE, but what if you want to move/migrate your users to another domain? You first need to export all the users, then import them into the new domain.

Solution

Step 1 Export Domain Users to CSV File

1. Here all my users are in one OU, if that OU has ‘nested OU’s within it that’s OK.

2. The command to ‘export’ is as follows;

Note: You need to ‘run as administrator

[box]

csvde -d {LDAP Path} -f c:\filename.csv

Example

csvde -d "ou=Main-Site,dc=pnl,dc=com" -f C:\ExportedUsers.csv

[/box]

3. The users will be exported. If it fails at this point it will give you a descriptive error, CSVDE has been around for a while, Google the error (most fixes are pretty simple).

4. Now open the CSV File with Excel, the second line will probably be the OU, you can leave this here if you want but if your target OU is different (or Like me you prefer to create it manually), then delete row 2 (Don’t delete Row 1!).

5. You do not need all the columns, delete all the columns EXCEPT,

DN
objectClass
ou
distinguishedName
name
cn
sn
givenName
displayName
sAMAccountName
userPrincipalName

So when complete it should look like the following;

6. Change any details in the LDAP path that are different for the new domain.

7. You may also need to change the domain name that’s listed on the userPrincipleName.

Step 2 Import Domain Users from CSV File

1. On the target domain, (if you are not importing the OU’s, then make sure they already exist). The syntax for the import is;

[box]

csvde -i -f c:\filename.csv

 

[/box]

9. Your users should be imported.

10. By default they will be disabled, but you can bulk enable them.

11. At this point all the users have no password, this can also be bulk set.

Windows – Reset all User Passwords in an OU

 

Related Articles, References, Credits, or External Links

NA

 

Dreamweaver CS6 – Migrate or Edit the Private Dictionary

KB ID 0000748 

Problem

If you want to migrate your dictionary to a new machine, or you have mistakenly added a word to the dictionary and need to delete that word, then you need to locate and edit the private dictionary.

With older versions of Dreamweaver the private/personal dictionary was a file with a .tlx extension, and it was in a completely different location! I spent a LONG TIME searching the net for the correct location for CS6. In the end I had to add a nonsense word into the “Add to Personal” dictionary, then use Agent Ransack to search the entire drive for the file that contained that word!

Solution

1. First fire up Dreamweaver and see what language you have the dictionary set to (this will matter in a minute). Edit > Preferences > General > Spelling Dictionary > Take note of what it is set to.

2. Notice mine is set to UK (that’s en_GB, if you are American yours will be en_US etc.). To locate your personal dictionary navigate to;

[box] C:UsersUsernameAppDataLocalLowAdobeLinguisticsUserDictionariesAdobe Custom Dictionaryen_GBadded.txt [/box]

Note: You will notice the language of the parent dictionary dictates the path to the custom dictionary.

3. You can now open the file with your favourite text editor and remove any incorrect entries, or migrate it to a new machine.

Related Articles, References, Credits, or External Links

NA