Joined: 03 Aug 2005
|Posted: Wed Aug 03, 2005 3:06 pm Post subject:
|I am converting the following from a batch file to an exe using QBFC 220.127.116.11
ECHO This is the Migration Utility that will restore your settings and data. DO NOT CLOSE THIS WINDOW. DO NOT LOG OFF OR SHUT DOWN YOUR COMPUTER. DO NOT OPEN ANY APPLICATIONS. This will take some time to complete. Please be patient. This will reboot your computer once the restore is complete. Thank you.
ECHO You are certain that you have closed ALL applications, including E-Mail. If you do not, this restore WILL FAIL and all of your settings and data WILL NOT be restored.
REM Runs Save my settings wizard for Office 2003
cd "program files\microsoft office\office11"
START proflwiz.exe /r \\imshrnds\usertransplant\%username%\desktop\save.ops /q
REM Runs Symantec Client Migration Utility
\\imshrnds\autopkg\automigrate.exe /server:imshrnds /user:%username% /pass:password /pkg:desktop /action:restore
DEL "c:\documents and settings\all users\desktop\restdesk.exe"
If I run it as a batch file, it works just fine, but when I convert it to an exe and try to run it, I get the error:
C:\DOCUME~1\deleond\Local' is not recognized as an internal or external command,operable program or batch file.
I tried running chunks of the file to see where it was failing and it looks like the ECHO commands in the beginning.
I would appreciate any help that can be offered.