Javascript FileSystemObject (FSO) provides a BuildPath method that appends the specified path by concatenating the file or folder name passed to it.
Javascript contains ActiveXObject function that provides the functionality to create FileSystemObject.
JavaScript Scripting FileSystemObject works on client side that provides the functionality to access the file system of client’s machine.