PRODUCT |

|

|
|
|

|
|
|
|
|
|
|
|
|
FAQ |
|
|

|
|
|
|
|
|
|
|
|
|
LEARN SCRIPTING |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SAMPLE SCRIPTS |
|
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HELP / DOCUMENTATION |
|
|

|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|

|
|
|
|
|
Help Page - ccd
( Some help pages may not display correctly in html because those help pages may have sample code in them, part of which may be mis-interpreted as html tags.
All help pages, including this help page, are available in biterScripting with the help command. )
|
|
|
Command
ccd
Purpose
Changes current directory.
Aliases
changecurrentdirectory, chgcurdir, ccd, cd
Syntax
ccd [ <directory> ]
Options
None.
Arguments
<directory> The directory which will become current directory.
This directory may be specified with full (absolute) path
or relative path. Any of the following formats for
specifying <directory> can be used.
"." Current directory (no change)
".." Parent directory
"<drive>:/<dir>" The top level <dir> on <drive>
"./<dir>" <dir> relative to current directory
This argument can be specified with a string constant, string variable,
string function, inline command or an expression resulting in a string
value. If expression is used, it needs to be enclosed in parentheses.
If string constant is used, it needs to be enclosed in double quotes.
Stream Input
Ignored.
Stream Output
None.
Stream Error
Any errors are listed here.
Description
This command changes the current directory to <directory>.
If <directory> does not exist, an error will be produced.
If you do not have permissions on <directory>, an error will be produced.
If the <directory> argument is omitted, the current directory is NOT changed.
Restrictions
We highly recommend that the <directory>, if specified with a string constant,
be included in double quotes. This is because directory names and paths often
contain spaces and other special characters.
Valid Examples
ccd ".."
Will move the current directory up by one level.
ccd "../.."
Will move the current directory up by two levels
(if it exists).
Invalid Examples
ccd C:/My Scripts
Will produce errors even if the directory "My Scripts" exists
under C:/. Enclosing the directory within double quotes, as following, will work.
ccd "C:/My Scripts"
See Also
scd
lf
mf
fdinfo
|
|
|
© 2008-2012, biterScripting.com. All rights reserved.
biterScripting, biterScript, biterBrowser, biterMobile, biterScripting.com, FVA (Forward Variable Assignment) are trademarks of biterScripting.com. Is it biterScripting-compatible ? is a service mark of biterScripting.com.
Explorer, Unix, Windows are trademarks, service marks or other forms of intellectual property of their respective owners.
|
|