Announcement

Collapse
No announcement yet.

More than Basix Scripting win 10- Batch file Help

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

  • More than Basix Scripting win 10- Batch file Help

    Hi Guys n Girls.

    I'm trying to create a batch script to load at windows start.
    Using Windows 10 Home 64bit and a paid for version of DAEMON Tools Lite 10.4 which includes the Unlimited Devices extra part.
    I've chosen to use daemon tools over Win 10's mount, for peace of mind for my clients. Windows 10 won't hold the image and my scripting attempts to have them load on startup caused too many "Annoying windows" So i am sticking with Daemon. I used to run this way with Win 7 and it worked flawlessly, but Windows 10 and keeping up with new os's has thrown some disc dropping in., I am trying to alleviate this by running the script and am having some teething issues making it work.

    My goal is to be able to open Daemon tools through a script Unmount all drives, Then mount the following disks to the following drives. I believe all the drives stay attached even if empty. But if you know this to not be true would appreciate adding that step into the script as well. here's what i have so far.

    I don't claim to be an expert, At best i think novice gives me too much credit. The following is compiled from basic commanding found on google. And clearly it's not working for me.

    "DTLauncher.exe"-unmount_all
    Echo off
    echo DO NOT CLOSE THIS WINDOW. SOFTWARE LOADING
    sleep 30
    DTAgent.exe -mount, dt, E, "C:\Xfer Here\DVDD0001-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, F, "C:\Xfer Here\DVDD0002-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, I, "C:\Xfer Here\DVDD0003-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, J, "C:\Xfer Here\DVDD0004-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, K, "C:\Xfer Here\DVDD0005-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, L, "C:\Xfer Here\DVDD0006-15.iso"
    timeout /t10
    DTAgent.exe -mount, dt, M, "C:\Xfer Here\DVDD0007-04.iso"
    timeout /t10
    DTAgent.exe -mount, dt, N, "C:\Xfer Here\DVDD0008-00.iso"
    timeout /t10
    DTAgent.exe -mount, dt, O, "C:\Xfer Here\DVDR0009-77.iso"
    timeout /t10
    DTAgent.exe -mount, dt, P, "C:\Xfer Here\DVDR0010-61.iso"
    timeout /t10
    DTAgent.exe -mount, dt, Q, "C:\Xfer Here\DVDR0011-48.iso"
    timeout /t10
    DTAgent.exe -mount, dt, R, "C:\Xfer Here\DVDR0012-40.iso"
    timeout /t10
    DTAgent.exe -mount, dt, S, "C:\Xfer Here\DVDR0013-40.iso"
    timeout /t10
    DTAgent.exe -mount, dt, T, "C:\Xfer Here\DVDR0014-26.iso"
    timeout /t10
    DTAgent.exe -mount, dt, U, "C:\Xfer Here\DVDR0015-17.iso"
    timeout /t10
    DTAgent.exe -mount, dt, V, "C:\Xfer Here\DVDR0016-03.iso"
    timeout /t10
    exit

    Any help or further conversations relating to this would be greatly appreciated! I intend on using this script for multiple pc's which are always setup the same.

  • #2
    Ah, Windows 10.

    Don't know if this will work but may be worth a try. The old syntax was:
    Code:
    -unmount 0
    Note that is the numerical zero and not the alphabet oh.

    Comment


    • #3
      I guess that the command parameter must have a form "unmount-all", not "unmount_all" (the latter form means a single word, not a junction of two words). Best regards!

      Comment

      Working...
      X