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!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment