call shortcut?

  • Thread starter Thread starter W1EO
  • Start date Start date
W

W1EO

Guest
I have a batch file that perfoms several functions but displays a black screen. I created a shortcut to that batch file which perfoms the functions properly but does not show the black screen. I would like to call the shortcut in my code rather than the batch file directly so the black screen will not be shown. How possible?

Dave


I’m truly up against a stone wall. I am attempting to determine if a specific file has been recently written to by another program. My periodic recirculation loop finds a new file at startup (LastWriteTime is zero). If I manually transfer a new file it is also found immediately. If I transfer using Team Viewer from one computer to this one, the file is found immediately. However, if the other program creates/writes a new version of the file, my loop finds the first such file immediately but it only finds subsequent new files spasmodically. If I leave my program looping, it will usually find the new file after several minutes. If I examine the created/written file, I find it has indeed been updated with new data appended and a new date modified has been posted. Yet my loop returns the same ftWrite.dwHighDateTime value as previously returned. I suspect it is not truly reading the new Write Time. Why? if(interval==0) { if(_access_s("C:/RMS/RMS TRIMODE/LOGS/RMS Trimode_ADIF_201211.adi",00)==0)//ch

Continue reading...
 

Similar threads

W
Replies
0
Views
200
W
W
Replies
0
Views
207
W
W
Replies
0
Views
73
W
Back
Top