User Tools

Site Tools


check_if_a_folder_exist_or_not_on_windows

Explain how to check if an folder exist or not in windows system

Bat to check if a file or folder exist :

if exist {insert file name here} (
rem file exists
) else (
rem file doesn't exist
)

- Or on a single line (if only a single action needs to occur):

if exist {insert file name here} {action}
check_if_a_folder_exist_or_not_on_windows.txt · Last modified: 2015/01/07 12:08 by admin