• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 431
  • Last Modified:

Run PsTools in dos from any directory?

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
jqsolara
Asked:
jqsolara
  • 2
2 Solutions
 
KCTSCommented:
you can add a path statement as an environmental variable see http://www.computerhope.com/issues/ch000549.htm
0
 
sirbountyCommented:
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
 
sirbountyCommented:
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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now