User Tools

Site Tools


check_if_a_folder_exist_or_not_on_windows

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
check_if_a_folder_exist_or_not_on_windows [2015/01/07 12:07]
admin
check_if_a_folder_exist_or_not_on_windows [2015/01/07 12:08]
admin
Line 3: Line 3:
 Bat to check if a file or folder exist : Bat to check if a file or folder exist :
  
-|if exist {insert file name here} ( +if exist {insert file name here} ( \\ 
-rem file exists + rem file exists ​\\ 
-) else ( +) else ( \\ 
-rem file doesn'​t exist + rem file doesn'​t exist \\ 
-)|+)
  
 - Or on a single line (if only a single action needs to occur): - Or on a single line (if only a single action needs to occur):
  
 |if exist {insert file name here} {action}| |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