Showing results 1 to 4 of 4

Thread: Batch file command line help please

  1. #1

    Default 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. #2
    GERMAN TRANSLATOR

    Blazkowicz's Avatar
    Join Date
    09.11.2005
    Posts
    6,401

    Default

    Disable Autoplay for virtual drive.

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

  3. #3

    Default

    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.

  4. #4

    Default

    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?

Bookmarks

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •