?
Solved

Run PsTools in dos from any directory?

Posted on 2007-04-05
3
Medium Priority
?
428 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 1000 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 1000 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: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

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 …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
Suggested Courses
Course of the Month13 days, 17 hours left to enroll

801 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