New
#1
locking a file
I store a data file on my NAS so it can be accessed from multiple computers on my network.
It is opened with a BAT file that downloads it to the computer, opens the program, then uploads it back to the NAS when the program is closed.
Is there a way, in the BAT file, to lock the data file on the NAS when it is downloaded, then unlock it when it is uploaded???
I want to do this so multiple computers can't open the data file at the same time.