McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Follow HyperMac on

HyperMac on Facebook Follow @HyperMac on Twitter

Follow HyperDrive on

HyperDrive on Facebook

We Ship Worldwide!
We ship worldwide via UPS & U.S. Postal Service

You are here: Home > HyperDrive > COLORSPACE UDMA > SDL Scripting Language > 3) Folder Commands

3) Folder Commands

A) CREATE_FOLDER

Feature: Create a new folder
Format: CREATE_FOLDER <path name>
Parameters: <path name> must start with "/C/" or "/G/" which are the absolute path names of the first hard drive partition and first memory card respectively.
Return Value: If creation of new folder is successful, $FOLDER_PATH will return the absolute path name of the new folder.
If unsuccessful, $FOLDER_PATH will return “ERROR”
Example: CREATE_FOLDER /C/PHOTOS

B) SELECT_FOLDER

Feature: Select a folder
Format: SELECT_FOLDER <folder name> <source path name>
Parameters:

<folder name> name of the folder
<source path name> path where the folder can be found

Return Value: If successful, $SELECTED_PATH will return the absolute path name of the selected folder.
If unsuccessful, $SELECTED_PATH will return “ERROR”
Example: SELECT_FOLDER PHOTOS /C/

C) BROWSE_FOLDER

Feature: Browse the images in a folder
Format: BROWSE_FOLDER <folder name>
Parameters: <folder name> name of the folder where the images are stored
Return Value: None
Example: BROWSE_FOLDER PHOTOS

D) FILE_MANAGER

Feature: Run File Manager
Format: FILE_MANAGER
Parameters: None
Return Value: None
Example: FILE_MANAGER

 

(Your shopping cart is empty)