yordan
Oct 28 2008, 03:40 PM
1. INTRODUCTION.Most of Microsoft very basic users are satisfied when the Windows installer installs each new software, automatically putting each file in the right place and making each Windows registry change. However, some new incoming software environment, mainly the ones from the open world, let you do some changes manually. For instance, if you install the java development software on your pc, you have to manually tell windows where the java binaries are. That means, if you type “javac” in a command shell window, Microsoft Windows has to know that javac.exe is in c:\myfiles\mythings\job\java\bin. More precisely, c:\myfiles\mythings\job\java\bin has to be added to your PATH environment variable. Some software packages (the ones I personally prefer) are now delivered as a simple bunch of files. If you want to use sql*plus, you get the files from Oracorp, you put them where you prefer, and you run from there. If you want to be able to run them from averywhere, the PATH environment variable has to also include this place. If you want to use sql*net in order to be able from your PC to reach a remote database, the location of your tnsnames.ora description file has to be known by windows. This is done by the environment variable TNS_ADMIN you have to teach Windows. That’s why it’s useful for you to know how to change the Microsoft Windows standard environment variables (like PATH) or add your own ones (TNS_ADMIN in my current topic). Here I will tell you how to do the job. 2. NOW LET’S GO.First of all, have a look at your Windows desktop (the screen appearing when you just booted your PC, before touching everything). Find the “my computer” icon, right-click on it, and select “Properties” .  This opens the “system properties”.  Click the “advanced” tab, you see the “Environment variables  Now you see the “User Variables” button, click it, the Environment Variables changer menu appears. Choose the “User variables for” part, click “New”, this opens a new window. In the “Name” field type TNS_ADMIN And in the “Value” field type c:\oracle\client In the “System Variables” field choose Path, then click “Edit” At the end of the value, add a semicolon (“;”) like the old values have, and then enter C:\oracle\client (if you were entering the oracle client addons path) and c:\myfiles\mythings\job\java\bin. 3. THAT’S ALL, FOLKS.The job is done. Close the window, and in order to verify open a “cmd” command line window. In the cmd window, type “set”. You will see a lot of thinghs, alle the user and system variables your windows session uses. Amongs them you will see the two values you entered : Path=c:\.........; c:\myfiles\mythings\job\java\bin. TNS_ADMIN=c:\oracle\client.
Comment/Reply (w/o sign-up)
yordan
Oct 28 2008, 03:56 PM
Sorry for these who think that these instruction are really basic. But you really need you to know how to do this in order to understand my next tutorial, which is located here : http://www.astahost.com/index.php?showtopic=19567This made my other tutorial smaller, I simply say "please update your Path user variable" and "please add the TNS_ADMIN variable pointing to the folder you just created".
Comment/Reply (w/o sign-up)
TavoxPeru
Nov 4 2008, 01:59 AM
Regarding the system path environment variable, i don't say that it is not correct but it is not absolutely necesary to change this system variable because you can get exactly the same result if you simply add another user environment variable called path and enter as its value the same value that you use with the system path variable. Also, i think that it would be possible to do this if you use a login script, but it is more complicated. BTW, do you remember the autoexec.bat and autoexec.nt files???? Best regards,
Comment/Reply (w/o sign-up)
yordan
Nov 4 2008, 12:40 PM
QUOTE(TavoxPeru @ Nov 4 2008, 02:59 AM)  Regarding the system path environment variable, i don't say that it is not correct but it is not absolutely necesary to change this system variable because you can get exactly the same result if you simply add another user environment variable called path and enter as its value the same value that you use with the system path variable. Of course, you are partly right. Maybe I was not fully clear in my main topic text. I did not want to fully change it, I wanted to add a new value to the system path variable. When you just add a binary file named "sqlplus.exe" in the c:\oracle\client folder you just created, Windows cannot know that you placed your binaries there. So, if you want to simply type "splqplus" instead of typing it's full pathname c:\oracle\client\sqlplus.exe, it's location must included in the Path variable, else Windows will answer "file not found". Same thing if you want to use the portable version of OpenOffice located on your USB flashdisk, E:\OpenOfficePortable must be added to your environment if you want to use the software without typing cd e:\blahblah first. This is rather classical in the Unix/Linux way of thinking, you must edit your .profile or .bashrc environment file and add a new folder in your PATH string. What is nice is that you can also work this way to windows, simply you use my topic instead of type "vi .profile" or "vi .login" like in Linux. For instance in my topic concerning how to access a remote Oracle database, the path to sqlplus.exe must be added in the Path variable. I emphasize that it must be added, and not replacing. And it must be in the system environment in order to be usable by any user, else you will have to change it for each user.
Comment/Reply (w/o sign-up)
TavoxPeru
Nov 6 2008, 04:58 AM
QUOTE(yordan @ Nov 4 2008, 07:40 AM)  Of course, you are partly right. Maybe I was not fully clear in my main topic text. I did not want to fully change it, I wanted to add a new value to the system path variable. When you just add a binary file named "sqlplus.exe" in the c:\oracle\client folder you just created, Windows cannot know that you placed your binaries there. So, if you want to simply type "splqplus" instead of typing it's full pathname c:\oracle\client\sqlplus.exe, it's location must included in the Path variable, else Windows will answer "file not found". Same thing if you want to use the portable version of OpenOffice located on your USB flashdisk, E:\OpenOfficePortable must be added to your environment if you want to use the software without typing cd e:\blahblah first. This is rather classical in the Unix/Linux way of thinking, you must edit your .profile or .bashrc environment file and add a new folder in your PATH string. What is nice is that you can also work this way to windows, simply you use my topic instead of type "vi .profile" or "vi .login" like in Linux. For instance in my topic concerning how to access a remote Oracle database, the path to sqlplus.exe must be added in the Path variable. I emphasize that it must be added, and not replacing. And it must be in the system environment in order to be usable by any user, else you will have to change it for each user. Ok, i understand your point better, but, as i said before, you got the same functionality if you add it to the user environment variables instead to the system variables, the difference is that if you add it to the system variables it will be available to all of the users that can access that computer, while in the other case, it will be only available to the user that set it up. BTW, i took the time to read your other post, and it helps me to completely understand your point, also, i think that both topics are very helpful for everybody. Nice work  . Best regards,
Comment/Reply (w/o sign-up)
yordan
Nov 6 2008, 09:52 AM
QUOTE Nice work. Thanks, I appreciate when people find my work useful.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : change, windows, user, environment, variables, step, step, guideline
- How To Enable User Login Security On Windows Vista
NOT User Account Control (1)
Repairing Your Windows Environment
(1) You have already seen people fully desperate because their Windows system cannot boot. Of course,
they could bring their PC back to the shop and ask for a complete re-install, but they will loose
their data. There is a way avoiding that. Of course they will still have to go back to the shop and
have the thing repaired. But they can, before that, save their files. There are Windows LiveCD
distros, you can boot on a CD which has an embedded Windows. Because you boot off the CD-rom, the
hard disk is not embedded. And as you boot off a CD, there is no virus problem, at least....
Avoid Flash Disk Viruses
This ruins a lot of Windows PC! (14) There are this new hype of virus scattering around nowadays that ruins a lot of PCs in our country;
in schools and public cafes! Its bad since it disables a lot of features as well as it ruins memory
the slows down the whole thing. It disables much of the removal process like Windows RegEdit.exe,
MsConfig.exe and also TaskMan.exe. Variations of these also disables your keyboard during normal
booting, floods your disk with virus files in the root directory and also the windows directory and
some also floods your directory with Folder looking icons that is an executable.. ....
Reformatting Your Computer (windows Xp)
Format your Computer/PC/Harddrive and Install Windows (10) Many of us, during the course of computer's life will need to reformat our computer for various
reasons. Whether it be your computer is so slow and you just can't figure out why, or if you
have a very persistent virus that you just can't figure out a way to eradicate. Though i'm
sure there are countless number of reasons, many will fall on the solution of reformatting your
computer....or more specifically, your hard-drive. Now what exactly does this involve? To put it
simply, reformatting your hard-drive is like reformatting any other disk like a floppy d....
How To Use The Swiss Army Knife Of The Savvy Internet User
wget (0) In this tutorial I will show you how to use wget in Windows. wget is a very handy utility, I would
call it "the Swiss army knife of the savvy Internet user". Its main purpose is for mirroring HTTP
and FTP sites, but you can get very creative with it and save a lot of browser navigation clicks if
you have many repetitive tasks. wget originated in the UNIX / Linux world and has been ported to
Windows. There are lots of places where you can go to download wget for Windows, just Google "wget
for Windows" or "wget for Windows easy steps". How-to #1 - Discover the REAL locat....
Remote Desktop Connection In Windows Vista
(5) Remote Desktop Connection in Windows Vista What is Remote Desktop ? Remote Desktop Connections
can save time and aggravation: It's a technology already installed in Windows Vista that lets
you sit at a computer in one place and connect to another computer in a completely different
physical location away from you. For example, you can leave programs running on your computer at
work and then see them the same way you do at work when you turn on your computer at home. You can
be miles away from the work computer but be working on it as if you had never left the off....
How To Setup Parental Controls In Windows Vista
(5) How to Setup parental controls in windows Vista Parental controls are a great first step to
keeping children safe online. To configure Parental Controls your computer must be set up with at
least one password-protected administrator user account. To Set up parental controls 1- Log in
to a user account that has administrative privileges. 2- Click the Start button, choose Control
Panel, and click Set up parental controls for any user. 3- You come to a page that shows the name
and picture for each user account you’ve created Click the user account for which you want....
How To Add Administrator Account In Logon Screen
Windows XP (4) If you've created an account in addition to the Administrator account in Windows XP, the
administrator account will not be shown in the Logon Scree, this tutorial explains you how to add
the Administrator account to the logon screen. If you are using Windows XP Pro follow these steps,
1. In the Start Menu, select Run. 2. In the Run dialog, type 'regedit' without quotes, to
start the registry editor. 3. Navigate to the key, HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \
Windows NT \ CurrentVersion \Winlogon \SpecialAccounts \UserList 4. In the right pane, ri....
Installing Windows Vista Rtm With Boot Camp
(4) I guess I'm a few months late on this Vista RTM thing... I'm writing this because I've
gotten sick of the Mac OS. It's just too unnatural for me to use. But, for those of you who have
been afraid to install Windows Vista RTM on your Macs using Boot Camp, this tutorial should help you
and give you confidence. wifi, Aero, and installation work automatically. Two-finger scrolling
works. iSight is actually functional (you can use it). Part 1: Installing Vista To install
Windows Vista on your Mac, you'll need... (Guess.) A Windows Vista DVD and an ....
Windows Xp & 2003 Performace And Security Part One
(2) Last week I promised to release my very first tutorial on AstaHOST regarding basic computer
security. Why is computer security important? For starters, ask yourselves the following question.
Can you really risk losing your personal data, including memorable pictures, videos, documents, and
important projects that are currently being developed by you? That is up to you to answer, yet I
know that most computer users don’t have instant backup solutions that keep data safe, even if
Windows is dead. The following tutorial will guide the average user on how to easily tweak h....
Getting A New PC Ready To Work With Windows
Getting started with Windows OS (6) This tutorial will help you getting started with using your new PC, which came with a Windows
Operating System. After you succesfully install Windows (that's much of an achievement
itself!), do not think that you are ready to use your PC. Actually, you're far away from
'ready' to use anything more complex than Notepad!!! ---- Section 1 : Things to install,
depending on how you use your PC ---- Office Applications : Microsoft Windows DOES NOT ship
with Microsoft Office. You have to purchace it separately. If you have done so, then be sure to i....
Breaking Into A Windows XP Installation
Exploiting the FAT32 Partition (7) Usually a Windows XP installation is done on a NTFS partition but at times you will find fools who
install it on FAT32 partition and have no idea that they could create a Limited user account for
normal using and then go about complaining that Windows is insecure to the brim. Anyway here we
only need the Windows XP/Server 2003 to be installed on a FAT32 partition. There are three simple
steps involved: • Rename the logon.scr file situated in system32 folder to something else.
Then make a copy of the cmd.exe and name it logon.scr . • Restart the computer, ....
Adding East Asian Fonts To Your System
For Windows XP (5) While trying to show someone the mysterious symbols used to create "The Matrix" source code, I
realized that most people have no need to use the East Asian input services offered in Windows XP
but they still may want to know how to play with the options. Additionally, there may be many
Eur-Asian people throughout the world that don't know that they can use their native language
when sending emails to their families abroad;. Or even type letters in their native script. Well,
in an effort to increase the public knowledge of this service, I decided to write this tuto....
Disabling/Enabling Some Of Windows Features
(2) Disabling/Enabling some of Windows features .:!:. To disable task manager Click Start > Run > and
type regedit, to run registry editor Find following address:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System Crate a new Dword and
name it DisableTaskMgr. To disable task manager give value of 1 To enable task manager give value of
0 .:!:. To disable unread email display on Welcome Screen Run registry editor and find following
address: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail Double click on
“MessageExpiryDays” key ....
Stream Lining Windows
(1) Here's a few quick hacks/registry changes that will help you improve the terribly bloated and
mind-numbing thing we call XPand hopefully I'll got some good credits out of this to. This
tutorial is VERY detailed so it should be easy to follow and sorry if there is spelling mistakes.
MAKE SURE YOU BACK UP YOUR REGISTRY BEFORE YOU TRY ANY OF THESE. I also take no responsibility if
you are an idoit and dont back it up or if you do any harm to your computer!! Improved context
menu: HKEY_CLASSES_ROOT\AllFileSysytemObjects\shellex\ContextMenuHandlers New key called "Co....
How To Make Your Windows Look Like A Mac
Windows Xp only (25) Ok Fans of macs I have done my reserch and checked it twice and I now present my tutorial on how to
make your windows XP desktop look like a Mac operating system. For those who think its really hard
your wrong and without any more jiber jaber lets get started. Step 1: The Downloads Ok for this
to work your going to need some items to make it work. The first one is the skin to make your
windows look like a mac. Its called Panther you can download it here . Second your gonna need a doc
for your programs. The best free one out there is Yz's dock and you can download....
Ways To Improve Your Performance In Windows XP
(24) There are many ways for us to improve our computer performance when we're using memory intensive
programs like 3ds max, adobe photoshop(when dealing with large poster-size pictures) etc. Below are
some suggested steps to improve your computer's performance. 1)Reduce the number of processes
running during startup. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" /> This can be achieved by using the MSCONFIG provided by windows. To access this
hidden program, go to start > run and type "MSCONFIG". This will brings you t....
[windows 95/98/me] Force Users To Login
(1) No doubt you noticed that in windows 95/98/me that at the loin screen a user can press cancel to
access your computer. This i guess is meant to be like a guest account but in most cases its
annoying to have. This hack will auto-logoff the user as soon as they login the this
'guest' account. IMPORTANT: THIS REQUIRES YOU TO EDIT THE REGISTRY, IF YOU DO NOT FOLLOW
THESE INSTRUCTIONS CAREFULLY YOU COULD MESS UP YOUR COMPUTER, IN SOME CASES A REGISTRY BACKUP MAY
WORK, IF YOU CAN USE IT, SEARCH GOOLGLE FOR REGISTRY BACKUP TO FIND OUT HOW TO DO THIS 1. Goto
this k....
[all Windows] Disable Registry Editing Tools
(2) If you want to mek it so cerin users, maybe guest or the account you getto by pressing cancel for in
95/98 to not be able to edit the regisstry this is the registry hack for you. IMPORTANT: THIS
REQUIRES YOU TO EDIT THE REGISTRY, IF YOU DO NOT FOLLOW THESE INSTRUCTIONS CAREFULLY YOU COULD MESS
UP YOUR COMPUTER, IN SOME CASES A REGISTRY BACKUP MAY WORK, IF YOU CAN USE IT, SEARCH GOOLGLE FOR
REGISTRY BACKUP TO FIND OUT HOW TO DO THIS 1. Goto this key in the registry, to get to the
registry goto Start -> Run and enter regedit QUOTE HKEY_CURRENT_USER\SOFTWARE\Micro....
How To Setup Xp Home Security Part 1
Guest user account (7) Christmas is over and all the new computers are now online. One issue is that most of them are not
patched and secured for Internet use. This tutorial are targeted to XP Home version and to the
Guest Account issue. The Guest Account is installed by default and there is no easy way to "truly
disable it" or enable password protection for that account. I just turned off the Guest Account
I’m safe! That is where you are wrong, the Guest Account is still running. You just can’t log into
it using the windows GUI (Graphic User Interface). The Guest Account are still runni....
Great Windows Tweaks
(16) I've found mass ways to tweak windows, therfore increasing computer performance, and bandwidth.
Check out www.speedguide.net and install the right tweaks for you, i assure it will optimize your
connection, and give all of you a better surfing experience.....
WINDOWS XP HIDDEN APPS
Hidden Stuff (1) WINDOWS XP HIDDEN APPS Not much of a tutorial but there are alot of hidden and interesting
commands you might want to take a look at. To run any of these apps go to Start > Run and type the
executable name (ie charmap). WINDOWS XP HIDDEN APPS: ========================================= 1)
Character Map = charmap.exe (very useful for finding unusual characters) 2) Disk Cleanup =
cleanmgr.exe 3) Clipboard Viewer = clipbrd.exe (views contents of Windows clipboard) 4) Dr Watson
= drwtsn32.exe (Troubleshooting tool) 5) DirectX diagnosis = dxdiag.exe (Diagnose & test ....
Speed up your windows and Pc!
(21) Speed up your windows and Pc! Right click on " My Computer" and select " Properties" . Go to "
Performance" and click on " File System". In "Settings" section change " Desk Top Computer" to "
Network Server" For speed up your windows: Run " Registry Editor", and go to below address :
HKEY_CURRENT_URER\Control Panel\Desk Top Add a parameter : (String Value)(REG_SZ) (value data =0
),and name it "MenuShow Delay"....
Windows Keyboard Shortcuts
FYI (11) CTRL+C=Copy CTRL+V=Paste Windows+E=Windows Explorer Windows+F=Search CTRL+Z=Undo Windows+R=Run
Command Windows+D=Shows Desktop Windows+U=Utility manager Windows+F1=Windows Help CTRL+A=Select All
Hope that helps to all of you computer-illiterate....
Looking for change, windows, user, environment, variables, step, step, guideline
|
See Also,
*SIMILAR VIDEOS*
Searching Video's for change, windows, user, environment, variables, step, step, guideline
|
advertisement
|
|