Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.25 KB | None | 0 0
  1. REM Nizej tu masz zmienne, zmien ich wartosc wedle potrzeb (poza current_hour!)
  2.  
  3. set file_path="C:\"
  4. set file_name="test.txt"
  5. set const_hour=19
  6.  
  7. set current_hour=%time:~0,2%
  8.  
  9. if %current_hour% == %const_hour% (
  10.     cd %file_path%
  11.     %file_name%
  12. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement