Play Video
1
Setting Your Working Directory and Editing R Code (Windows)
Setting Your Working Directory and Editing R Code (Windows)
::2012/09/23::
Play Video
2
Setting Your Working Directory and Editing R Code (Mac)
Setting Your Working Directory and Editing R Code (Mac)
::2012/09/23::
Play Video
3
R Tour for Beginners (Pt 3.5): Working Directory in Windows
R Tour for Beginners (Pt 3.5): Working Directory in Windows
::2012/09/19::
Play Video
4
R Tour for Beginners (Pt 3): Working Directory
R Tour for Beginners (Pt 3): Working Directory
::2012/09/19::
Play Video
5
R Statistical: How to Get & Set Working Directory
R Statistical: How to Get & Set Working Directory
::2010/10/28::
Play Video
6
How to change R working directory in Windows
How to change R working directory in Windows
::2012/01/27::
Play Video
7
Lesson 1 - PHP - File Systems - get Current Working Directory and Changing Directory in PHP
Lesson 1 - PHP - File Systems - get Current Working Directory and Changing Directory in PHP
::2013/12/01::
Play Video
8
How to Change Your Working Directory in Windows
How to Change Your Working Directory in Windows
::2012/12/21::
Play Video
9
RStudio, Setting the Working Directory
RStudio, Setting the Working Directory
::2013/10/14::
Play Video
10
Change To The Previous Working Directory In Linux Step By Step Tutorial
Change To The Previous Working Directory In Linux Step By Step Tutorial
::2012/06/08::
Play Video
11
cd - Command to Change the Present Working Directory ( pwd )
cd - Command to Change the Present Working Directory ( pwd )
::2014/06/11::
Play Video
12
R Programming tutorial - How to set working directory in R (Mac) - Programming in R
R Programming tutorial - How to set working directory in R (Mac) - Programming in R
::2014/05/28::
Play Video
13
How to change working directory:  SQL Virtual Database
How to change working directory: SQL Virtual Database
::2014/03/07::
Play Video
14
Print Working Directory pwd Shell Command - Bin Bash
Print Working Directory pwd Shell Command - Bin Bash
::2013/07/24::
Play Video
15
Set Working Directory - project folder
Set Working Directory - project folder
::2012/10/05::
Play Video
16
Git 04 - Repositories and working directory
Git 04 - Repositories and working directory
::2011/10/31::
Play Video
17
How To Check Your Present Working Directory In Ubuntu Linux Via Command Line Or Terminal  Tutorial
How To Check Your Present Working Directory In Ubuntu Linux Via Command Line Or Terminal Tutorial
::2011/08/13::
Play Video
18
Setting the working directory in R
Setting the working directory in R
::2011/05/04::
Play Video
19
Arcview 3.3: Saving + Working Directory
Arcview 3.3: Saving + Working Directory
::2010/09/30::
Play Video
20
Updating your local Git repository and working directory
Updating your local Git repository and working directory
::2013/01/13::
Play Video
21
0201 The working directory
0201 The working directory
::2012/09/14::
Play Video
22
Java tutorials for beginners  4  Setting up working directory for java programs
Java tutorials for beginners 4 Setting up working directory for java programs
::2013/08/31::
Play Video
23
GNOME Terminal How to Open new tab with working directory Ubuntu
GNOME Terminal How to Open new tab with working directory Ubuntu
::2014/02/22::
Play Video
24
Linux CLI: pwd (print working directory)
Linux CLI: pwd (print working directory)
::2009/03/28::
Play Video
25
How To Set Work Directory in R: R Programming Tutorial for Beginners - Part 6
How To Set Work Directory in R: R Programming Tutorial for Beginners - Part 6
::2014/04/27::
Play Video
26
how to find out your working directory in linux mint 13
how to find out your working directory in linux mint 13
::2012/07/19::
Play Video
27
Setting Working Directory in Pro Engineer
Setting Working Directory in Pro Engineer
::2009/03/27::
Play Video
28
VTC Player   Perl Fundamentals, Changing the current working directory
VTC Player Perl Fundamentals, Changing the current working directory
::2014/01/27::
Play Video
29
PRO ENGINEER TUTORIAL 1 WORKING DIRECTORY
PRO ENGINEER TUTORIAL 1 WORKING DIRECTORY
::2009/07/05::
Play Video
30
WorkingDirectory
WorkingDirectory
::2012/09/20::
Play Video
31
how to know about your working directory in Linux
how to know about your working directory in Linux
::2008/11/23::
Play Video
32
OSX Lion New Tab Same Working Directory
OSX Lion New Tab Same Working Directory
::2011/07/20::
Play Video
33
Setting up a Working Directory for VW
Setting up a Working Directory for VW
::2009/11/03::
Play Video
34
Minecraft Working Directory Print!
Minecraft Working Directory Print!
::2012/01/28::
Play Video
35
R - Knowing and Setting your working directory
R - Knowing and Setting your working directory
::2014/06/16::
Play Video
36
Setting working directory
Setting working directory
::2014/05/29::
Play Video
37
Unix Commands - 02 - Working With Directory Commands
Unix Commands - 02 - Working With Directory Commands
::2013/04/29::
Play Video
38
BASH Tutorial - 2 - list files, change directory, and navigation
BASH Tutorial - 2 - list files, change directory, and navigation
::2013/10/21::
Play Video
39
Change Directory cd Shell Command - Bin Bash
Change Directory cd Shell Command - Bin Bash
::2013/07/31::
Play Video
40
CD (change directory) MD (Make Directory) command
CD (change directory) MD (Make Directory) command
::2013/03/30::
Play Video
41
How to show the Current Directory your in FreeBSD
How to show the Current Directory your in FreeBSD
::2012/06/16::
Play Video
42
Rocking Zsh: directory specific shell profiles
Rocking Zsh: directory specific shell profiles
::2011/10/08::
Play Video
43
Working with Active directory Sites
Working with Active directory Sites
::2013/09/28::
Play Video
44
E-Learning Pro/Engineer [การ set work directory]
E-Learning Pro/Engineer [การ set work directory]
::2011/11/20::
Play Video
45
SWG:ANH Server Setup I
SWG:ANH Server Setup I
::2012/08/22::
Play Video
46
Change Directory cd Parent Directory Shell Command - Bin Bash
Change Directory cd Parent Directory Shell Command - Bin Bash
::2013/08/07::
Play Video
47
DTerm - Awesome Directory Aware Terminal
DTerm - Awesome Directory Aware Terminal
::2011/02/17::
Play Video
48
Change the directory of the Artica categories database
Change the directory of the Artica categories database
::2013/11/20::
Play Video
49
Tutorial: VisualWorks Basic Introduction - Setting up a Working VW Directory
Tutorial: VisualWorks Basic Introduction - Setting up a Working VW Directory
::2013/09/11::
Play Video
50
SPPH Ramp-up: Setting Directory and Reading Data (Mac)
SPPH Ramp-up: Setting Directory and Reading Data (Mac)
::2012/09/12::
NEXT >>
RESULTS [51 .. 101]
From Wikipedia, the free encyclopedia
  (Redirected from Chdir)
Jump to: navigation, search
"chdir" redirects here. For description of a user command spelled so, see cd (command).

In computing, the working directory of a process is a directory of a hierarchical file system, if any,[1] dynamically associated with each process. When the process refers to a file using a simple file name or relative path (as opposed to a file designated by a full path from a root directory), the reference is interpreted relative to the current working directory of the process. So for example a process with working directory /rabbit-hats that asks to create the file foo.txt will end up creating the file /rabbit-hats/foo.txt.

In operating systems[edit]

Further information: cd (command) and operating system shell

In most computer file systems, every directory has an entry (usually named ".") which points to the directory itself.

In most DOS and UNIX command shells, as well as in the Microsoft Windows command line interpreters cmd.exe and Windows PowerShell, the working directory can be changed by using the cd or chdir commands. In Unix shells, the pwd command outputs a full pathname of the current working directory; the equivalent command in DOS and Windows is cd without arguments (whereas in Unix, cd used without arguments takes the user back to his/her home directory). The environment variable PWD (in Unix/Linux shells) or CD (in DOS/Windows shells) is also set for use in scripts, so that one need not start an external program. Microsoft Windows file shortcuts have the ability to store the working directory.

In programming languages[edit]

Most programming languages provides an interface to the file system functions of the operating system, including the ability to set (change) the working directory of the program.

In the C language, the PO-SIX function chdir() effects the system call which changes the working directory.[2] Its argument is a text string with a path to the new directory, either absolute or relative to the old one. Where available, it can be called by a process to set its working directory.

There is the same function in other languages. In Visual Basic it is usually spelled CHDIR().

Unlike the Windows API or PO-SIX C function, neither the Java programming language nor the Java Virtual Machine supports chdir() directly;[clarification needed] a change request remained open for over a decade while the team responsible for Java considered the alternatives, though by 2008 the request was denied after only limited support was introduced (affecting first java.Lang.Runtime and later, java.Lang.Process Builder ).[3]

See also[edit]

References[edit]

  1. ^ There are operating systems that support a hierarchical file system but have no concept of "working directory"; for example Texas Instruments' DX10, used for the TI-990 series.
  2. ^ The Open Group Base Specifications Issue 6 and IEEE Std 1003.1, 2004 Edition
  3. ^ "Java - Bug ID: 4045688". Bug Database. Sun Micro systems. 1997-04-17. Retrieved 2011-02-20. 

External links[edit]

Wikipedia content is licensed under the GFDL License
Powered by YouTube
LEGAL
  • Mashpedia © 2014