Solved

Run PsTools in dos from any directory?

Posted on 2007-04-05
3
417 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
  • 2
3 Comments
 
LVL 70

Accepted Solution

by:
KCTS earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now