Adding to "Path"

S

Steve Hayes

I understand that desire, but I think most people don't have batch files
any more, and if they do, they create shortcuts to them and use those.


So the fundamental reason seems to be that you prefer the command line
to the Windows way of doing things. I'd say that the command line in
Windows is generally the preserve of techies, but you're not a techie,
and that's why things seem so hard.
I find the command line way of doing things much easier to set up, and much
more reliable, for simple repetitive tasks than the Windows way of doing
things.

Maybe there is an easier way of doing such things in Windows, but I haven't
found it,

One of the nice things about Windows 7, however, is that you can more easily
write a batch file to back up certain files to a DVD than you can in XP --
provided you can find out how to set the path.
 
L

Larry__Weiss

I find the command line way of doing things much easier to set up, and much
more reliable, for simple repetitive tasks than the Windows way of doing
things.

Maybe there is an easier way of doing such things in Windows, but I haven't
found it,

One of the nice things about Windows 7, however, is that you can more easily
write a batch file to back up certain files to a DVD than you can in XP --
provided you can find out how to set the path.
Have you tried scripting with PowerShell ?

http://technet.microsoft.com/en-us/scriptcenter/powershell.aspx
http://technet.microsoft.com/en-us/library/bb978526.aspx
 
G

Gene E. Bloch

And I also like to keep certain utility programs in a separate directory. They
usually augment command-line commands. And I like to be able to call them from
anywhere, without having to type the full path each time.
To avoid typing a full path name to run a batch file, all you need to do
is to add your batch file directory name to the PATH variable.

I guess that sounds like a workaround.
 
G

Gene E. Bloch

To avoid typing a full path name to run a batch file, all you need to do
is to add your batch file directory name to the PATH variable.

I guess that sounds like a workaround.
I meant to say "batch or utility program file" and "batch or utility
program directory names" above.
 
G

Gene E. Bloch

That must be the best example of begging the question I have ever seen.
Your experience is evidently quite limited...

And, pray tell, which question do you think was begged?
 
S

Steve Hayes

To avoid typing a full path name to run a batch file, all you need to do
is to add your batch file directory name to the PATH variable.
That must be the best example of begging the question I have ever seen.
 
S

Steve Hayes

Your experience is evidently quite limited...

And, pray tell, which question do you think was begged?
If you go back in the thread to its beginning, you will see that the original
question was about how to add directories to the PATH statement in Windows 7
in order to avoid having to do things like type the full path to batch files.

You have said, in effect:

If you want to add a directory to your PATH statement in order to avoid having
to type the full path name to your batch files, you need to add your batch
file directory to the PATH statement.

I can't think of a more perfect example of begging the question.
 
M

Mike Barnes

Steve Hayes said:
I find the command line way of doing things much easier to set up, and much
more reliable, for simple repetitive tasks than the Windows way of doing
things.
Well, a part of the command-line approach is setting up the path and
judging by what you've said in this thread you didn't find that at all
easy. You'd need to explain to me how a command line is "more reliable"
than the Windows way.
Maybe there is an easier way of doing such things in Windows, but I haven't
found it,
For simple repetitive tasks, creating a shortcut on the desktop and
double-clicking on it works for most people.
One of the nice things about Windows 7, however, is that you can more easily
write a batch file to back up certain files to a DVD than you can in XP --
provided you can find out how to set the path.
How is Windows 7 different from XP for that job? Writing a batch file is
writing a batch file, unless I'm missing something. And the path is set
up the same way, IIRC.
 
G

Gene E. Bloch

If you go back in the thread to its beginning, you will see that the original
question was about how to add directories to the PATH statement in Windows 7
in order to avoid having to do things like type the full path to batch files.

You have said, in effect:

If you want to add a directory to your PATH statement in order to avoid having
to type the full path name to your batch files, you need to add your batch
file directory to the PATH statement.

I can't think of a more perfect example of begging the question.
Perhaps then you need to refer to a good dictionary.

I didn't beg any question, I repeated a solution. I had what seemed to
me adequate reason to doubt your understanding of it.
 
S

Steve Hayes

Perhaps then you need to refer to a good dictionary.

I didn't beg any question, I repeated a solution. I had what seemed to
me adequate reason to doubt your understanding of it.
You did not repeat the solution, you just repeated the problem.

People asked how to do something they wanted and needed to do, and you just
told them that they needed to do the thing that they already knew they needed
to do and wanted to do.
 
G

Gene E. Bloch

You did not repeat the solution, you just repeated the problem.

People asked how to do something they wanted and needed to do, and you just
told them that they needed to do the thing that they already knew they needed
to do and wanted to do.
I'm hoping that you actually have a good sense of humor, and that you're
just omitting your smileys as a challenge to your readers.
 

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