Announcement

Collapse
No announcement yet.

Batch file command line help please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Batch file command line help please

    I created this batch file:

    DTAgent.exe -unmount 0
    DTAgent.exe -unmount 1
    DTAgent.exe -unmount 2
    DTAgent.exe -unmount 3
    DTAgent.exe -unmount 4
    DTAgent.exe -unmount 5
    DTAgent.exe -mount 0,"d:\games\byskateboard.nrg"
    DTAgent.exe -mount 1,"d:\games\bysoccer.nrg"
    DTAgent.exe -mount 2,"d:\games\Scooby-DooFPP.nrg"
    DTAgent.exe -mount 3,"d:\games\OddParents.iso"
    DTAgent.exe -mount 4,"d:\games\Buzz2G.iso"
    DTAgent.exe -mount 5,"d:\games\RAT2.iso"

    I need to have those games mounted but not run automatically after mount. Can someone tell me how to do that please?

  • #2
    Disable Autoplay for virtual drive.

    AutoPlay Settings - Vista Forums
    Make something idiot proof, but then they just make a better idiot
    Peace Through Power

    Comment


    • #3
      I'm using Windows XP to do this and I want to input disabling autorun or autoplay with a command in the batch file and not doing it via a setting on the PC.

      I like your suggestion though and could do that as a back up idea so thank you. I appreciate it.

      Comment


      • #4
        I got that squared away. I have another issue now though. I want the batch file to unmount not just the images but desktop icons of those games the images represent as well. I also want to create a second batch file that mounts new imaged games with those representing desktop icons as well as replacements for the first batch file games. Can someone help me with that please?

        Comment

        Working...
        X