Search found 3 matches

by ladinai
24 Nov 2016 08:52
Forum: DOS Batch Forum
Topic: How to start a .bat file automatically if a CD is in the device
Replies: 4
Views: 4242

Re: How to start a .bat file automatically if a CD is in the device

Hey, alright I see. So there it's might be better to do this point through the windows services... However I do have another question als well. I would like to enhance my code: ******************************************************************************* @ echo off start cmd.exe robocopy D:\ C:\Us...
by ladinai
24 Nov 2016 05:04
Forum: DOS Batch Forum
Topic: How to start a .bat file automatically if a CD is in the device
Replies: 4
Views: 4242

Re: How to start a .bat file automatically if a CD is in the device

Hello,

thank you. This seems to be a bit too complicated. Yes it is my own device so I do have full admin acces.
Is there no simple if-clause like if CD is in device D: than run .bat file..?

Thank you and best regards
Ladina
by ladinai
24 Nov 2016 00:53
Forum: DOS Batch Forum
Topic: How to start a .bat file automatically if a CD is in the device
Replies: 4
Views: 4242

How to start a .bat file automatically if a CD is in the device

Good morning, i would like to start automatically a robocopy from the CD if the CD is in the device. The goal is, that the .bat command starts as soon as the user has put in the CD. Enclose the .bat file which needs to be completed: ************************************************************ @ echo...