Adding to "Path"

J

jaugustine

Hi,

Windows 7 is a new experience for me since I recently
bought a Dell laptop with that OS.

I have come a long way since the Dos days, and I am
glad there is a Command Prompt where you can execute
many Dos commands (not "DELTREE")..

I always added an "AUTOEXEC.BAT" to the root directory in my other
computers, but it is incompatible with Win7 OS.

How can I add "C:\BATCH" (a folder with many .BAT files I
created) to the "path" of locations?

Thank You in advance, John
 
M

Mike Barnes

(e-mail address removed):
Hi,

Windows 7 is a new experience for me since I recently
bought a Dell laptop with that OS.

I have come a long way since the Dos days, and I am
glad there is a Command Prompt where you can execute
many Dos commands (not "DELTREE")..

I always added an "AUTOEXEC.BAT" to the root directory in my other
computers, but it is incompatible with Win7 OS.

How can I add "C:\BATCH" (a folder with many .BAT files I
created) to the "path" of locations?

Thank You in advance, John
Here's one way...

1. Press the Start Key.
2. Type "Env" (without the quotes) and press Enter.
3. Select the Path line in the upper box and click Edit.
4. Add ";C:\BATCH" to what's there already.
 
L

Larry__Weiss

(e-mail address removed):

Here's one way...

1. Press the Start Key.
2. Type "Env" (without the quotes) and press Enter.
3. Select the Path line in the upper box and click Edit.
4. Add ";C:\BATCH" to what's there already.
Using
Edit PATH
instead of
Env
would be more universal to navigate to Control Panel's environment variable editor.

I have an env.exe that would have been triggered by your instructions.
 
T

Tim Slattery

Here's one way...

1. Press the Start Key.
2. Type "Env" (without the quotes) and press Enter.
3. Select the Path line in the upper box and click Edit.
4. Add ";C:\BATCH" to what's there already.
But DON'T store it in the root of the C: drive! Make a directory for
it and other things like it, and add that directory to the PATH, as
above.
 
M

Mike Barnes

Larry__Weiss said:
Using
Edit PATH
instead of
Env
would be more universal to navigate to Control Panel's environment
variable editor.

I have an env.exe that would have been triggered by your instructions.
FSVO of "universal". Your version of my instructions takes me to the DOS
EDIT command. :)

Anyway I trust the OP will be keeping his wits about him and will
discover the right way to get where he wants to be.
 
G

Gene E. Bloch

But DON'T store it in the root of the C: drive! Make a directory for
it and other things like it, and add that directory to the PATH, as
above.
I don't think there's a real reason not to put it in the root, so please
advise...
 
G

Gene E. Bloch

Using
Edit PATH
instead of
Env
would be more universal to navigate to Control Panel's environment variable editor.

I have an env.exe that would have been triggered by your instructions.
For me env brings up RadidEE, a much easier-to-use environment editor
which I'd forgotten I had :)

In any case, these suggestions lead to quicker ways to get to the
environment, so thanks to you and to Mike Barnes.
 
L

Larry__Weiss

FSVO of "universal". Your version of my instructions takes me to the DOS
EDIT command. :)

Anyway I trust the OP will be keeping his wits about him and will
discover the right way to get where he wants to be.
Interesting! I guess since I'm using a 64-bit version of Windows 7, I don't even have the 16-bit
edit.com program.
 
L

Larry__Weiss

For me env brings up RadidEE, a much easier-to-use environment editor
which I'd forgotten I had :)

In any case, these suggestions lead to quicker ways to get to the
environment, so thanks to you and to Mike Barnes.
I really like the way that Windows 7 finds ways to do quick navigation to the utilities for these
types of needs.
 
A

Andy Burns

Mike said:
(e-mail address removed):


Here's one way...
Here's another that won't vary from machine to machine

Press Win+pause
click advanced system settings
Click Environment variables
Locate "Path" in the system variables section
click edit
Add you extra folder(s) to the value.
 
R

R. C. White

Hi, John.

In the Command Prompt, we can still use the old DOS "set" command, too.

As the old saying goes, there's more than one way to skin a cat. ;^}

RC
--
R. C. White, CPA
San Marcos, TX
(e-mail address removed)
Microsoft Windows MVP (2002-2010)
Windows Live Mail 2012 (Build 16.4.3505.0912) in Win8 Pro


wrote in message
Hi,

Windows 7 is a new experience for me since I recently
bought a Dell laptop with that OS.

I have come a long way since the Dos days, and I am
glad there is a Command Prompt where you can execute
many Dos commands (not "DELTREE")..

I always added an "AUTOEXEC.BAT" to the root directory in my other
computers, but it is incompatible with Win7 OS.

How can I add "C:\BATCH" (a folder with many .BAT files I
created) to the "path" of locations?

Thank You in advance, John
 
T

Tim Slattery

I don't think there's a real reason not to put it in the root, so please
advise...
Clutter. Better to group things logically, and to keep out of the way
of the various system files in the root.
 
L

Larry__Weiss

Here's another that won't vary from machine to machine

Press Win+pause
click advanced system settings
Click Environment variables
Locate "Path" in the system variables section
click edit
Add you extra folder(s) to the value.
That's another phrase to use
1. Press the Start Key.
2. Type "advanced system settings" (without the quotes) and press Enter.

I don't have a pause key on this Dell notebook. Is there an equivalent key?
 
P

Paul in Houston TX

Hi,

Windows 7 is a new experience for me since I recently
bought a Dell laptop with that OS.

I have come a long way since the Dos days, and I am
glad there is a Command Prompt where you can execute
many Dos commands (not "DELTREE")..

I always added an "AUTOEXEC.BAT" to the root directory in my other
computers, but it is incompatible with Win7 OS.

How can I add "C:\BATCH" (a folder with many .BAT files I
created) to the "path" of locations?

Thank You in advance, John
The GUI way:
computer/properties/advanced settings/path
Add what you need.
 
G

Gene E. Bloch

Clutter. Better to group things logically, and to keep out of the way
of the various system files in the root.
I'm not sure that justifies your saying "But DON'T store it in the root
of the C: drive!", exclamation point and all...
 
G

Gene E. Bloch

That's another phrase to use
1. Press the Start Key.
2. Type "advanced system settings" (without the quotes) and press Enter.

I don't have a pause key on this Dell notebook. Is there an equivalent key?
I'd say it's the Break key. Usually there's a key labeled Pause|Break...
 
L

Larry__Weiss

I'd say it's the Break key. Usually there's a key labeled Pause|Break...
I'm missing that key. I remember that Ctrl-Break came in handy sometimes.
I don't know how to do that on this laptop.
I can plug in an external keyboard and get it that way.
 
G

Gene E. Bloch

I'm missing that key. I remember that Ctrl-Break came in handy sometimes.
I don't know how to do that on this laptop.
I can plug in an external keyboard and get it that way.
No break key? Interesting. Unusual.

Post your laptop's make & model, and I'll bet someone here knows how to
do it, or can verify that it really can't be done.
 
B

Bob I

Hi,

Windows 7 is a new experience for me since I recently
bought a Dell laptop with that OS.

I have come a long way since the Dos days, and I am
glad there is a Command Prompt where you can execute
many Dos commands (not "DELTREE")..

I always added an "AUTOEXEC.BAT" to the root directory in my other
computers, but it is incompatible with Win7 OS.

How can I add "C:\BATCH" (a folder with many .BAT files I
created) to the "path" of locations?

Thank You in advance, John
R-click "Computer", select Properties, select Advanced System Settings,
select Environment variables, in System variable scroll to Path, edit same.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top