have installed family history app on usb that i want to run on various PCs.I have an autorun that calls batch file that copies a usb drive mgr to the HD & executes it. This keeps usb drive letters to xyz. Problem is that cannot get the batch to return to the autorun and do the code to to start the menu to allow me to bring the family history app up. Both batch and
autorun work if each are separated and run by themselves. Code is listed below:
[Autorun]
@echo off
open=_begin.bat
action=start _begin
Open=CDMENU2.exe
Action=Start CDMENU2
Label=My Family
Icon=CDMENU2.exe
(_Begin.bat)
@echo off
xcopy "%~dp0USBDLM" "C:\USBDLM\"
xcopy "%~dp0shortcuts" "C:\"
SET PATH=C:\USBDLM\
call _install.cmd
I have begun to think my problem is that one can't return to an autorun like you can a batch file, so thought to add the batch at the end of the autorun but this creates a problem for me with the drive letter as the drive mgr is not yet loaded. Any help appreciated.
autorun work if each are separated and run by themselves. Code is listed below:
[Autorun]
@echo off
open=_begin.bat
action=start _begin
Open=CDMENU2.exe
Action=Start CDMENU2
Label=My Family
Icon=CDMENU2.exe
(_Begin.bat)
@echo off
xcopy "%~dp0USBDLM" "C:\USBDLM\"
xcopy "%~dp0shortcuts" "C:\"
SET PATH=C:\USBDLM\
call _install.cmd
I have begun to think my problem is that one can't return to an autorun like you can a batch file, so thought to add the batch at the end of the autorun but this creates a problem for me with the drive letter as the drive mgr is not yet loaded. Any help appreciated.