Tutorial by Topics: directories

The Scripting.FileSystemObject is much more robust that the legacy methods in this topic. It should be preferred in almost all cases.
include_directories([AFTER|BEFORE] [SYSTEM] dir1 [dir2 ...]) ParameterDescriptiondirNone ore more relative or absolute pathsAFTER, BEFORE(optional) whether to add the given directories to the front or end of the current list of include paths; default behaviour is defined by CMAKE_INCLUDE_DIR...
echo %cd% - displays the current path of the directory cd "C:\path\to\some\directory" -changes the path of the directory cd "%variable_containing_directory_path%" - also changes the path of the directory cd /d E: - change to E: drive from a different drive ...
Manipulating directories from the command line
If you edit a new file: vim these/directories/dont/exist/newfile, you won't be able to save the file as the directory vim is trying to save into does not exist.

Page 1 of 1