Definitions
Sorry, no definitions found. Check out and contribute to the discussion of this word!
Etymologies
Sorry, no etymologies found.
Support

Help support Wordnik (and make this page ad-free) by adopting the word dirname.
Examples
-
PHP has a built-in function called dirname that makes it very easy for your web app to automatically figure out its own base directory.
Of Zen and Computing 2008
-
$directories = explode ( '/', $path [ 'dirname']);
phpBB.com RMcGirr83 2010
-
$directories = explode ( '/', $path [ 'dirname']);
phpBB.com CheeRees 2010
-
The Command-Line Fu site simplifies it down into a single command — just add the following to your bashrc file to create an entirely new command that performs the same steps: function lmv () {[- e $US1 - a - e $US2] & & mv $US1 $US2 & & ln - s $US2/$ (basename $US1) $ (dirname $US1);}
Move Files Without Breaking Stuff | Lifehacker Australia 2009
-
#$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE_
-
#$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..') if $0 == __FILE_
Creating Methods On the Fly…And Bugs in Google Phonebook « Jeff Fry on Testing 2007
-
Unleased released DVDRip for this game, quite unusual dirname for games.
-
EXPAND_PATH = File. expand_path (File. dirname (__FILE__)) require EXPAND_PATH + "/helper" class TestRunner def load (require_file) require EXPAND_PATH + "/" + require_file end end test_runner = TestRunner. new test_runner. load 'test_customer' test_runner. load 'test_customer_list_model' test_runner. load 'test_customer_list_presenter' test_runner. load 'test_customer_editor_model' test_runner. load 'test_customer_editor_presenter' test_runner. load 'test_current_customer_coordinator'
Planet TW 2010
-
This script simply executes the following command: java - jar ` dirname $0 `/data/gui/msfgui. jar
PaulDotCom 2010
-
This is a useful way to decide which process should handle a task: whoever successfully creates the file. open (2). mkdir (dirname, 0755) creates a new directory but fails with the error code
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.