Good evening,
I am trying to figure out a way where once I connect a removable hard drive with in the “Autorun.inf” file I would like it to do the following.
Check to see which “Server it is connected too” so I was thinking
If “Not sure what check would be” “Server Name”
If “Not sure what check would be” “Server Name”
Etc etc… so lets say one of the if’s come back with = TRUE for “We will use SRV01”
If srv01
Copy “C:\Location\ba ckup\backup.bkf ” “To the removable drive” “B:\Location name\”
So basicly once the hard drive got plugged into the server, it would autorun the .inf file and id like to configure the file so it knows to look for the server name, if it is “That server” to run a “COPY” command from the local hard drive of the server to the removable hard drive that just got plugged in.
Is this possible? I was looking over some commands with .inf and I believe using
UseAutoPlay=1
&
shellexecute=co py.bat –
“So the inf would actually just open a .bat file located on its own drive and the bat file would do the “Server checking” and “Copy command”
Any insight or help on which command or if this is even possible would be greatly appreciated.
P.S. I am sorry if I posted this in the wrong thread.
Thank you,
Chris
I am trying to figure out a way where once I connect a removable hard drive with in the “Autorun.inf” file I would like it to do the following.
Check to see which “Server it is connected too” so I was thinking
If “Not sure what check would be” “Server Name”
If “Not sure what check would be” “Server Name”
Etc etc… so lets say one of the if’s come back with = TRUE for “We will use SRV01”
If srv01
Copy “C:\Location\ba ckup\backup.bkf ” “To the removable drive” “B:\Location name\”
So basicly once the hard drive got plugged into the server, it would autorun the .inf file and id like to configure the file so it knows to look for the server name, if it is “That server” to run a “COPY” command from the local hard drive of the server to the removable hard drive that just got plugged in.
Is this possible? I was looking over some commands with .inf and I believe using
UseAutoPlay=1
&
shellexecute=co py.bat –
“So the inf would actually just open a .bat file located on its own drive and the bat file would do the “Server checking” and “Copy command”
Any insight or help on which command or if this is even possible would be greatly appreciated.
P.S. I am sorry if I posted this in the wrong thread.
Thank you,
Chris