When you run an executable from the command line or from a script, the current directory will be the directory from which the executable or script is invoked. This behavior is consistent in both the old command prompt as well as in PowerShell. There is an exception though when you invoke a script, as I [...]
Entries Tagged as 'PowerShell'
Another newbie mistake with PowerShell
January 20th, 2007 · No Comments
Tags: PowerShell
A newbie mistake with PowerShell
January 14th, 2007 · 2 Comments
At work, I wrote a PowerShell script to automate our build process. I had to use the Visual SourceSafe command line tool to check out the files, make changes, and check them back in. The SS tool expected the ssdir environment variable to be set properly. I had just begun using PowerShell and I made [...]
Tags: PowerShell