hello everyone and thank you in advance for the support.i m using a software called watchdirectory
i setted it to watch a folder for any newly created file
when a newly created file exist it should execute a bat
in this bat
notepad c:\monitoreddir\%wdfile_b%.%wdfile_e% (notice tha this variable is a special envirointment variable setted when the monitoring task by watchdirectory is running)
set filename=%wdfile_b%
autoitexescript.exe
here te autoit script goes and modify some values of the txt window
to do so i need to activate the notepad window but if the file name changes every time i can so i was thinking is it possible to pass to autoit %filename% variable that was inside the bat and then compile the script as an exe ? if yes how ?
regards