Pages

Thursday, August 4, 2011

dotNET port of unix command 'pwd'

Source
  This code is a port of the unix command 'pwd' which retrieves the current working directory. While a user could merely use 'cd' at the command prompt to mimic this action, the code is more for a demonstration of running command line programs and retrieving the output as a string.


Click here for a copy-and-paste friendly version of this code!

No comments:

Post a Comment