Due to the uselessness of the IT team in my place of work, I have written a small batch file for the people in my department to map a network folder to a drive letter since the network path is too long and Windows will not allow us to open any files in that folder or any of it's subfolders. I have the batch file on my memory stick since our e-mail system blocks batch files, reading them as malicious so I can't e-mail it to everyone. This is the only thing on my memory stick that I will need to open/run while at work so I was wondering:
Is it possible to make the autorun.inf only run when connected to a certain domain or workgroup?