March 20, 200422 yr Hello friends,the following is what I got in my runonceex.cmd but keep getting an error relating to COPY command. Any suggestions are appreciated.REG ADD %KEY%\080 /VE /D "Photoshop CS" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\applications\Photoshop8\Setup.exe -s -f1"%systemdrive%\extras\Applications\Photoshop8\setup.iss"" /fREG ADD %KEY%\080 /V 2 /D "COPY /Y %CDROM%\Applications\PSCrack\Tw10122.dat \"%systemdrive%\Program Files\Adobe\Photoshop CS\"" /fREG ADD %KEY%\080 /V 3 /D "COPY /Y %CDROM%\Applications\PSCrack\AdobeLM.dll \"%systemdrive%\Program Files\Adobe\Photoshop CS\"" /f
March 20, 200422 yr http://unattended.msfn.org/xp/runonceex.htmLook under "Applications that use Quotations" for the -f1 switch. But since you don't have any spaces in the paths, adding quotations isn't necessary.You'll also need to include cmd.exe /c before the copy command for it to work, otherwise use .cmd batch files.
March 20, 200422 yr Author Thank you AaronXP for the prompt reply. Being new to all these commands, can I possibly ask you to give me an example of how to incorporate this cmd.exe /c in my script?
March 20, 200422 yr Example:REG ADD %KEY%\080 /V 3 /D "cmd /c copy /Y %CDROM%\somefile.txt %systemdrive%\somefolder\" /f
Create an account or sign in to comment