I transferred my contacts folder and email folders to another laptop, both using Outlook 2002. However, I have 2 Contacts folders. One has my contacts inside. The other is empty. BOTH are named ';Contacts';. How can I find and rename the empty one so I can remove it properly from Outlook%26gt; Tools%26gt; Address Book ?
In other words, what's the usual Windows pathname where Outlook's Contact folder is stored, and what's the extension.
In Tools %26gt; Email Accounts %26gt; Directory%26gt; Email Accounts%26gt; Change, there are 2 identical-looking Address Books, both named ';Contacts: Personal Folders';.
My problem is one has my contacts and I DON';T want to delete that one... the other's empty.
Where ELSE (in the main directory tree) can I look for these two folders and rename one? Is it buried in the outlook.pst file (which I can find, btw) or squirreled away someplace else?
Thanks.Outlook 2002 with 2 Contacts folders? Help!?
To delete an empty contact folder,
1. go to outlook menu, view, folder list
2. click the plus sign of contacts folder, locate the folder you want to delete,
3. click on the folder to confirm it's empty, no outlook items on the right, right click on that folder in folder list choose delete ';%26lt;folder name%26gt;';
4. right click on the ';%26lt;folder name%26gt;'; under Deleted items and choose delete ';%26lt;folder name%26gt;'; to permanently remove it.
Hope this helps.
Thursday, September 22, 2011
Please need help with Unix/Linux homework?
1) Suppose you've created a shell script named /usr/bin/myscript. How can you prevent a user from executing this script? Should you remove the executable permission from the script file?
2) If the shell variable x has the value 5, and your reassign it with x=';expr $x + 10';, what is the new value of x? What would have been the value if single quotes were used instead? What is the most likely mistake in the above?
3) A script named test containing the df and du commands displays nothing (not even an error message) when executed. Why might that happen? State two ways of making this script behave properly.
4) Write a script that accepts one or more filenames as arguments, and displays the filenames in uppercase like this:
$ upcase file1 readme README
FILE1 README README
[Hint: Use tr and positional parameters.]
5) If the command set $(cat foo) generates the error unknown option, what could be the reason assuming that foo is a small readable text file?
6) Write a script which accepts one filename as an argument, and displays the last modification time if the file exists and a suitable error message if it doesn檛.
[Hints: It is acceptable to display the whole output of ls -l file. Remember the file argument is accessed by using a positional parameter. Use the test command in an if statement to see if a file exists.]
To extract just a file's modification time from the ls -l output, you can set LC_TIME environment variable to POSIX; then the modification time is in the 6th, 7th, and 8th fields of the output. You can extract that by resetting the positional parameters from the output of the ls -l, using set and command substitution. (There are easier ways but they require knowledge of awk or other advanced filter commands.)
7) Why won檛 the exit command terminate the script, when placed in a shell script like this:
( statements; exit ) How would you fix this, so the script exits after running the statements?
8) You have a small script called cd2man containing these lines:
#!/bin/sh -
x=$(find $HOME -name $1 -print)
cd $x The script has correct permissions and PATH is set correctly so the script can be found. When you run cd2man man1 you find that the current directory hasn檛 changed even though the directory man1 exists somewhere in your home directory tree. No error messages appeared either. Why did that happen, and what should you do to make cd2man change the current working directory?
9) You have to run a script foo and need to have both the output and error messages saved in the single file named foo.out. How should you run the script?
10) Write a shell script for rm called saferm which uses the interactive mode only if you use it with more than three filenames. [Hint: use an appropriate if statement that runs rm -i ';$@'; when the number of command line arguments is greater than three. ]Please need help with Unix/Linux homework?
Most of these you can answer yourself very quickly by just typing the examples into a terminal window on your *nix system.
One important point to note though is that you do not seem to have specified what shell you are supposed to be using. I'm guess it's bash or maybe just sh ?Please need help with Unix/Linux homework?
can you give me that a kinder grade level please
2) If the shell variable x has the value 5, and your reassign it with x=';expr $x + 10';, what is the new value of x? What would have been the value if single quotes were used instead? What is the most likely mistake in the above?
3) A script named test containing the df and du commands displays nothing (not even an error message) when executed. Why might that happen? State two ways of making this script behave properly.
4) Write a script that accepts one or more filenames as arguments, and displays the filenames in uppercase like this:
$ upcase file1 readme README
FILE1 README README
[Hint: Use tr and positional parameters.]
5) If the command set $(cat foo) generates the error unknown option, what could be the reason assuming that foo is a small readable text file?
6) Write a script which accepts one filename as an argument, and displays the last modification time if the file exists and a suitable error message if it doesn檛.
[Hints: It is acceptable to display the whole output of ls -l file. Remember the file argument is accessed by using a positional parameter. Use the test command in an if statement to see if a file exists.]
To extract just a file's modification time from the ls -l output, you can set LC_TIME environment variable to POSIX; then the modification time is in the 6th, 7th, and 8th fields of the output. You can extract that by resetting the positional parameters from the output of the ls -l, using set and command substitution. (There are easier ways but they require knowledge of awk or other advanced filter commands.)
7) Why won檛 the exit command terminate the script, when placed in a shell script like this:
( statements; exit ) How would you fix this, so the script exits after running the statements?
8) You have a small script called cd2man containing these lines:
#!/bin/sh -
x=$(find $HOME -name $1 -print)
cd $x The script has correct permissions and PATH is set correctly so the script can be found. When you run cd2man man1 you find that the current directory hasn檛 changed even though the directory man1 exists somewhere in your home directory tree. No error messages appeared either. Why did that happen, and what should you do to make cd2man change the current working directory?
9) You have to run a script foo and need to have both the output and error messages saved in the single file named foo.out. How should you run the script?
10) Write a shell script for rm called saferm which uses the interactive mode only if you use it with more than three filenames. [Hint: use an appropriate if statement that runs rm -i ';$@'; when the number of command line arguments is greater than three. ]Please need help with Unix/Linux homework?
Most of these you can answer yourself very quickly by just typing the examples into a terminal window on your *nix system.
One important point to note though is that you do not seem to have specified what shell you are supposed to be using. I'm guess it's bash or maybe just sh ?Please need help with Unix/Linux homework?
can you give me that a kinder grade level please
Report Abuse
Apache rewrite rule help?
The only directory structure to change is browse to parts. How do I apply a rule in apache to successfully redirect.
Old
site.com/browse/games/en1873
New
site.com/parts/games/en1873
Apache rewrite rule help?
Quite simple. Just use:
RewriteRule ^/?old_directory/([a-z0-9/.]+)$ new_directory/$1 [R=301,L]
So in your case the following will work good:
RewriteRule ^/?browse/games/([a-z0-9/.]+)$ parts/games/$1 [R=301,L]
Apache rewrite rule help?
Go to http://www.addedbytes.com/ and look for the cheat sheets. There's a great cheat sheet for Apache rewrite that will help you with that.
go to wikipedia and read mod rewrite section
then follow the external linkfollow the advise of myspace graphics
Old
site.com/browse/games/en1873
New
site.com/parts/games/en1873
Apache rewrite rule help?
Quite simple. Just use:
RewriteRule ^/?old_directory/([a-z0-9/.]+)$ new_directory/$1 [R=301,L]
So in your case the following will work good:
RewriteRule ^/?browse/games/([a-z0-9/.]+)$ parts/games/$1 [R=301,L]
Apache rewrite rule help?
Go to http://www.addedbytes.com/ and look for the cheat sheets. There's a great cheat sheet for Apache rewrite that will help you with that.
go to wikipedia and read mod rewrite section
then follow the external link
Why does submission of a site in Yahoo Directory never seem to work?
Ok, I have tried 5 times to submit a site into the Yahoo Directory. I have gone into the category that I want the site to appear (society and culture/ relationships/ dating) and clicked on the 'Suggest a Site' link but it keeps then taking me to a page which says ';you are suggesting a site to the following category: Business and Economy';. Business and economy? It's not even close! There is no option on this page to change the category either! How on earth are you supposed to do this?Why does submission of a site in Yahoo Directory never seem to work?
Good question..I can't figure it out either.
Good question..I can't figure it out either.
Can find this directory in reg?
Here are the instructions I was given:
1) Install and run the application.
2) Run regedit (or regedit32 for Windows 2000, in the system32 directory).
3) Locate the KCOH (or similar, running from memory here) directory under Software/Cryptic
4) Change the Locale value to 0
5) Now modify the security permission for the KCOH directory and remove or deny all permissions except ';Read';
Now run the app and it should run in English
Help! How do I do this? I can't find the ';Cryptic'; directory anywhere under ';software';!Can find this directory in reg?
Do you use windows 2000 or a later version? if you use other version than windows 2000 the instructions may be different.
1) Install and run the application.
2) Run regedit (or regedit32 for Windows 2000, in the system32 directory).
3) Locate the KCOH (or similar, running from memory here) directory under Software/Cryptic
4) Change the Locale value to 0
5) Now modify the security permission for the KCOH directory and remove or deny all permissions except ';Read';
Now run the app and it should run in English
Help! How do I do this? I can't find the ';Cryptic'; directory anywhere under ';software';!Can find this directory in reg?
Do you use windows 2000 or a later version? if you use other version than windows 2000 the instructions may be different.
How do you code php on menu to go up a folder back to the root directory?
I have a web site with about 7 different folders that when I change the main menu on the index I have to drag the menu to each folder. I am looking for the code to put on the menu that goes in the seperate folders so that it will go up a folder and read the main menu on the index(root directory .. to cut down on all the dragging over in ftp client. HELP!!!
Thanks BruceHow do you code php on menu to go up a folder back to the root directory?
put the menu in the main directory as something like 'menu.html'
and then in the php section of each of your other pages, use this code:
%26lt;?php
readfile(';../menu.html';);
?%26gt;
The readfile command reads some HTML or PHP text and includes it directly in the page. The two periods indicate the parent directory, so this program will go find the menu.html code snippet in the parent directory, and print it in the current page.How do you code php on menu to go up a folder back to the root directory?
The other answer is ok, but if your menu is a PHP page, you might consider the following:
%26lt;?php
include('menu.php');
?%26gt;
BUT....the path of the include is relevant to the php file being used at the time. In order to get around this, you should use.
%26lt;?php include($_SERVER['DOCUMENT_ROOT'] . 'menu.php'; ?%26gt;
Might look scary, but this just refers to your root folder. Change this if your menu is in a different folder. (You may also need to add a trailing slash(/) before the menu, depending on your server config.
You do not want to copy the menu into each folder as it will be a nightmare to update if the menu changes. This way you have one menu in one place that will be used on all files, and using this solution eliminates the need to prefix with '../' or '../../' when working out directory structure.
Thanks BruceHow do you code php on menu to go up a folder back to the root directory?
put the menu in the main directory as something like 'menu.html'
and then in the php section of each of your other pages, use this code:
%26lt;?php
readfile(';../menu.html';);
?%26gt;
The readfile command reads some HTML or PHP text and includes it directly in the page. The two periods indicate the parent directory, so this program will go find the menu.html code snippet in the parent directory, and print it in the current page.How do you code php on menu to go up a folder back to the root directory?
The other answer is ok, but if your menu is a PHP page, you might consider the following:
%26lt;?php
include('menu.php');
?%26gt;
BUT....the path of the include is relevant to the php file being used at the time. In order to get around this, you should use.
%26lt;?php include($_SERVER['DOCUMENT_ROOT'] . 'menu.php'; ?%26gt;
Might look scary, but this just refers to your root folder. Change this if your menu is in a different folder. (You may also need to add a trailing slash(/) before the menu, depending on your server config.
You do not want to copy the menu into each folder as it will be a nightmare to update if the menu changes. This way you have one menu in one place that will be used on all files, and using this solution eliminates the need to prefix with '../' or '../../' when working out directory structure.
Linux directory help?
i am a noob to linux (installed yesterday) i am wondering what a directory is and how to change to a different one in the terminal because i im trying to install flash for linux and i need to open a file that is in the desktop so how would i do this?Linux directory help?
You use the cd command mostly like you would under Windows:
examples:
$%26gt; cd /tmp
$%26gt; cd /usr/bin
Note that under Linux the directories are separated by a forward slash (/), not a backwards slash (\) as with Windows.Linux directory help?
A directory is the same as a folder. To change to another directory in the terminal type ';cd (directory address here). cd stands for Change Directory.
A directory address should look like this : /home/bob/Desktop
You use the cd command mostly like you would under Windows:
examples:
$%26gt; cd /tmp
$%26gt; cd /usr/bin
Note that under Linux the directories are separated by a forward slash (/), not a backwards slash (\) as with Windows.Linux directory help?
A directory is the same as a folder. To change to another directory in the terminal type ';cd (directory address here). cd stands for Change Directory.
A directory address should look like this : /home/bob/Desktop
Subscribe to:
Posts
(Atom)