Solved

Run PsTools in dos from any directory?

Posted on 2007-04-05
3
424 Views
Last Modified: 2008-02-01
I was wondering if there was a way to run Ps Tools from any directory I might be in in DOS? I have to navigate to the c:\pstools directory every time I want to run a command, but is there any way to run them from whatever directory I might be in?

thanks
0
Comment
Question by:jqsolara
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 250 total points
ID: 18858727
you can add a path statement as an environmental variable see http://www.computerhope.com/issues/ch000549.htm
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18858870
I usually just place all my pstools right in the C:\Windows\system32 folder
You don't have to add to your path that way...
0
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 250 total points
ID: 18858888
in your case, since you already have them in c:\pstools, do this from a command line:

xcopy c:\pstools\*.* %systemroot%\system32
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question