Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Chdir


  
 [No title]   (Site not responding. Last check: 2007-10-12)
chdir allows the user to change their current directory by using partial names and *'s to select system, disk, directory and link names.
An additional switch -select tells chdir to list the systems, disks, or directories/links that match the name given and ask the user to select which one is desired.
If more than one match is found and select is true, then chdir displays the list of matches (20 at a time) and asks the user to select the number corresponding to the name to select.
ftp.stratus.com /vos/tools/chdir.txt   (340 words)

  
 Bug ID: 4045688 Add chdir or equivalent notion of changing working directory
ChDir is quite a hack for currently running process, so I would like to vote against.
There are times when being able to do a chdir() would be nice, and they are when integrating with particularly crufty pieces of native code.
Introducing an API method called chdir() that does *not* do so is dangerously misleading, since this piece of process state is externally visible on most operating systems.
bugs.sun.com /bugdatabase/view_bug.do;:YfiG?bug_id=4045688   (4750 words)

  
 chdir   (Site not responding. Last check: 2007-10-12)
Chdir is used to change the current working directory.
The new directory can be specified as an IRAF logical name, as a sub-directory of the current directory, as a path from either a logical directory or the current directory, or as an operating system dependent name.
Note that the command back may be called after a chdir to return to the previous directory without typing its name.
stsdas.stsci.edu /cgi-bin/gethelp.cgi?cd   (210 words)

  
 chdir
user(15): (chdir) ;; no argument: change to user home directory "/usr/tech/doe/" user(16): (chdir "sys:") ;; a string naming a logical pathname which translates ;; to the Allegro directory (the value you see may be different).
chdir returns the namestring of the directory component of the pathname changed to.
Warning about interaction between chdir and foreign loading and dumplisp: if the command line used to start Lisp identified the Allegro CL image with a relative pathname (`./mlisp', for example), you cannot do the first load of foreign code or dump an image with excl:dumplisp after changing the directory with this function.
www.cs.berkeley.edu /titan/sww/software/man/acl-6.0/pages/operators/excl/chdir.htm   (613 words)

  
 VISI | UNIX man pages: chdir (2)
The chdir() function causes the named directory to become the current working direc- tory, that is, the starting point for path searches of pathnames not beginning with a slash, `/'.
Upon successful completion, the value 0 is returned; otherwise the value -1 is returned and the global variable errno is set to indicate the error.
Chdir() will fail and the current working directory will be unchanged if one or more of the following are true: [ENOTDIR] A component of the path prefix is not a directory.
home.visi.com /cgi-bin/man?chdir+2   (335 words)

  
 Linux chdir Command
The syntax is chdir followed by the name of the directory you want to go to.
Example: chdir /home/user/www will change the directory you are in to /home/user/www.
Example: chdir /home/ri*/www would also take you to /home/rich/www, assuming there was no other folder in /home beginning with ri.
www.mediacollege.com /linux/command/chdir.html   (189 words)

  
 chdir(2)   (Site not responding. Last check: 2007-10-12)
chdir() and fchdir() cause a directory pointed to by path or fildes to become the current working directory.
chdir() will fail and the current working directory will be unchanged if one or more of the following are true: EACCES Search permission is denied for any com- ponent of the path name.
EINTR A signal was caught during the execution of the chdir() function.
www.cs.usyd.edu.au /cgi-bin/man.cgi?section=2&topic=chdir   (368 words)

  
 UNIX man pages : chdir (1)   (Site not responding. Last check: 2007-10-12)
Because a new process is created to execute each command, cd would be ineffective if it were written as a normal command; therefore, it is recognized by and is inter- nal to the shell.
chdir is just another way to call cd.
Because a new process is created to execute each command, cd would be ineffective if it were written as a normal command; therefore, it is recog- nized by and is internal to the C-shell.
www.phy.ohiou.edu /cgi-bin/man-cgi.sol?chdir+1   (904 words)

  
 MS-DOS chdir command help
Chdir (Change Directory) is a command used to switch directories in MS-DOS.
The chdir command is an internal command and is available in the below Microsoft Operating Systems.
Windows 95 and Windows 98 added a new feature in the chdir command which allows you to go back more than one directory when using the dots.
www.computerhope.com /chdirhlp.htm   (183 words)

  
 Info Node: (screen.info)Chdir   (Site not responding. Last check: 2007-10-12)
Chdir ===== - Command: chdir [directory] (none) Change the current directory of `screen' to the specified directory or, if called without an argument, to your home directory (the value of the environment variable `$HOME').
Without a `chdir' command, this would be the directory from which `screen' was invoked.
Hardcopy and log files are always written to the _window's_ default directory, _not_ the current directory of the process running in the window.
www.cs.vassar.edu /cgi-bin/info.cgi?(screen)Chdir   (132 words)

  
 chdir(2)   (Site not responding. Last check: 2007-10-12)
The chdir() and fchdir() functions cause a directory pointed to by path or fildes to become the current working direc- tory.
The chdir() function will fail if: EACCES Search permission is denied for any component of the path name.
EINTR A signal was caught during the exe- cution of the chdir() function.
www.cs.duke.edu /cgi-bin/man.cgi?section=2&topic=chdir   (348 words)

  
 chdir()--Change Current Directory
The chdir() API operates on two objects: the previous current working directory and the new one.
If the directory exists on a volume formatted in Universal Disk Format (UDF), the authorization that is checked for each directory in the path name follows the rules described in Figure 1-4, Authorization Required for chdir().
If the directory exists on a volume formatted in some other media format, no authorization checks are made on each directory in the path name.
www.redbooks.ibm.com /pubs/html/as400/v4r5/ic2924/info/apis/chdir.htm   (1018 words)

  
 chdir   (Site not responding. Last check: 2007-10-12)
user(15): (chdir) ;; no argument: change to user home directory "/usr/tech/doe/" user(16): (chdir "sys:") ;; a string naming a logical pathname which translates ;; to the Allegro directory.
Warning about interaction between chdir and foreign loading and dumplisp: if the command line used to start Lisp identified the Allegro CL image with a relative pathname (`./lisp.exe', for example), you cannot do the first load of foreign code or dump an image with excl:dumplisp after changing the directory with this function.
Therefore, if you started Lisp with a relative pathname, do at least one foreign load before calling chdir and do not call excl:dumplisp after calling chdir.
www.cl.cam.ac.uk /ailanguages/allegro5/pages/operators/excl/chdir.htm   (508 words)

  
 chdir(2)   (Site not responding. Last check: 2007-10-12)
DESCRIPTION The chdir() function changes the current directory to the directory indi- cated by the path parameter.
Therefore, one thread using the chdir() or fchdir() functions will affect every other thread in that process.
ERRORS If the chdir() function fails, the current directory remains unchanged and errno may be set to one of the following values: [EACCES] Search access is denied for any component of the pathname.
www.uwm.edu /cgi-bin/IMT/wwwman?topic=chdir(2)&msection=8   (339 words)

  
 DOS Command: CHDIR   (Site not responding. Last check: 2007-10-12)
Enter CHDIR or CD without a drive and path designation to get a display of the current directory.
For more information on using CHDIR and other fixed-disk commands, refer to Chapter 3, Using Fixed Disks.
To demonstrate how the CHDIR command accesses the DOS directory structure, assume that two directories, WORDS and FILES have been created on a disk.
www.csulb.edu /~murdock/chdir.html   (331 words)

  
 Microsoft Windows XP - Chdir (Cd)
The chdir or cd command with the parameters listed below is only available when you are using the Recovery Console The chdir command with different parameters is available from the command prompt.
Used with only a drive letter (for example, cd C:), chdir displays the current directory on the specified drive.
Chdir only operates within the system directories of the current Windows installation, removable media, the root directory of any hard disk partition, or the local installation sources.
www.microsoft.com /resources/documentation/windows/xp/all/proddocs/en-us/bootcons_chdir.mspx   (164 words)

  
 chdir(3): change working directory - Linux man page
The chdir() function shall cause the directory named by the pathname pointed to by the path argument to become the current working directory; that is, the starting point for path searches for pathnames not beginning with '/'.
Otherwise, -1 shall be returned, the current working directory shall remain unchanged, and errno shall be set to indicate the error.
The chdir() function only affects the working directory of the current process.
www.die.net /doc/linux/man/man3/chdir.3.html   (302 words)

  
 Manpage of CHDIR
chdir changes the current directory to that specified in path.
fchdir is identical to chdir, only that the directory is given as an open file descriptor.
On error, -1 is returned, and errno is set appropriately.
www.fifi.org /cgi-bin/man2html?chdir+2   (206 words)

  
 chdir [Archive] - vBulletin Community Forum   (Site not responding. Last check: 2007-10-12)
I was hoping someone could help me to understand chdir properly.
I need to use chdir to require a script.
I'm not 100% sure on this as I have never needed to use it yet in a script, but I'm sure that if you're using relative paths in your includes, once you use chdir you need to allow for the directory change in your relative paths.
www.vbulletin.com /forum/archive/index.php/t-141342.html   (217 words)

  
 QNX Developer Support
The chdir() function changes the current working directory to path, which can be relative to the current working directory or an absolute path name.
The chdir() function isn't implemented for the filesystem specified in path.
In a multithreaded application, any thread calling chdir() will change the current working directory for all threads in that process.
www.qnx.com /developers/docs/qnx_6.1_docs/neutrino_2.11_en/lib_ref/c/chdir.html   (237 words)

  
 Microsoft Windows XP - Chdir
Used with only a drive letter (for example, chdir C:), chdir displays the names of the current drive and folder.
The chdir command, with different parameters, is available from the Recovery Console.
When you use it with a drive name, chdir displays the current directory for that drive.
www.microsoft.com /resources/documentation/windows/xp/all/proddocs/en-us/chdir.mspx   (498 words)

  
 [No title]   (Site not responding. Last check: 2007-10-12)
NAME chdir, fchdir - Changes the current directory SYNOPSIS int chdir (const char *path); int fchdir (int filedes); PARAMETERS path Points to the pathname of the directory.
DESCRIPTION The chdir() function changes the current directory to the directory indicated by the path parameter.
The current directory, also called the current working directory, is the starting point of searches for pathnames that do not begin with a / (slash).
www.sandia.gov /ASCI/Red/usage/paragon/man/man2/chdir.2.html   (376 words)

  
 chdir
user(15): (chdir) ;; no argument: change to user home directory "/usr/tech/doe/" user(16): (chdir "sys:") ;; a string naming a logical pathname which translates ;; to the
chdir returns the namestring of the directory component changed to (which may not be the new current directory).
Warning about interaction between chdir and foreign loading and dumplisp: if the command line used to start Lisp identified the Allegro CL image with a relative pathname (`./
www.bu.edu /cc/support/software/programming/lisp/allegro/pages/operators/excl/chdir.htm   (496 words)

  
 ! Aware to man pages: chdir(2)   (Site not responding. Last check: 2007-10-12)
The chdir() function causes the named directory to become the current working direc- tory, that is, the starting point for path searches of pathnames not be- ginning with a slash, `/'.
ERRORS chdir() will fail and the current working directory will be unchanged if one or more of the following are true: [ENOTDIR] A component of the path prefix is not a directory.
SEE ALSO chroot(2) STANDARDS The chdir() is expected to conform to IEEE Std1003.1-1988 (``POSIX'').
www.rocketaware.com /man/man2/chdir.2.htm   (439 words)

  
 ChDir (Función)
Si no se especifica ninguna unidad, ChDir cambia el directorio o la carpeta predeterminada en la unidad actual.
La función ChDir cambia el directorio predeterminado, pero no la unidad predeterminada.
Nota de seguridad La función ChDir requiere un permiso de código no administrado que puede afectar a su ejecución en situaciones de confianza parcial.
msdn.microsoft.com /library/SPA/vblr7/html/vastmChDir.asp?frame=true   (195 words)

  
 XL2000: ChDir May Fail When Changing to a Root Directory
This requirement may cause issues if you use ChDir to change to a root directory, because the path of a root directory does not necessarily contain a backslash.
It is possible to incorporate error-handling into a ChDir function to prevent an error from occurring.
ChDrive Left(NewDir, 1) 'change to the drive (C:, etc.) ChDir NewDir 'change to the directory 'Display the name of the current directory so you know it worked.
support.microsoft.com /kb/213493   (559 words)

  
 CD | CHDIR Command   (Site not responding. Last check: 2007-10-12)
If you create a file and do not specify where to place it, the file is placed in the default Visual FoxPro directory.
The CD and CHDIR commands are not supported in either single or multithreaded DLL servers.
These commands change the default directory of the entire process, so all threads which are part of the process are affected.
msdn.microsoft.com /library/en-us/dv_foxhelp9/html/1580eb95-e52b-49e7-9cd2-a48e8a71011c.asp?frame=true   (290 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.