Hello All,
Currently, I have a DEM script/setting to backup/restore a text file between a virtual desktop local hard and a shared network drive folder. This gets initialized when the user closes our custom software.
However, I have a suspicious feeling that some users aren't closing the "custom software" and letting DEM initiate the backup script.
the QUESTION is, is there a way to watch this text file and as soon as it is updated, back it up without waiting for the user to close the software "custom software"?
Thank you for reading my post and I would appreciate your response.
Probably not with VMware DEM, because this is logon/logoff or DirectFlex triggered based. But you want to know if someone has changed the file XY. You can do this with a simple file watcher in .net like this: https://learn.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher?view=net-7.0
It has to be a small program to listen of file changes and trigger some actions. Or you can write a windows service to listen always regardless of windows logon.
Best Regards, Tschuegy
Probably not with VMware DEM, because this is logon/logoff or DirectFlex triggered based. But you want to know if someone has changed the file XY. You can do this with a simple file watcher in .net like this: https://learn.microsoft.com/en-us/dotnet/api/system.io.filesystemwatcher?view=net-7.0
It has to be a small program to listen of file changes and trigger some actions. Or you can write a windows service to listen always regardless of windows logon.
Best Regards, Tschuegy