Solved

Run PsTools in dos from any directory?

Posted on 2007-04-05
3
423 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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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…

820 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