error 96 during script execution
Hi
i get this error message when executing a script using winpe
this is my script
@echo off
REM token replacement on the inf file
REM the next line, ReplaceTokens, is a reserved keyword, the REM statement is so DOS will ignore the command
REM ReplaceTokens .\sysprep\sysprep.inf .\temp\%ID%.inf
REM Firm copy .\temp\%ID%.inf prod:sysprep\sysprep.inf
REM get rid of the old aclient.cfg file
firmwpe delete prod:aclient.cfg
REM This section would normally be devoted to injecting model specific drivers
REM echo Hardware Model number is %#!computer@model_num%
if "%#!computer@model_num%" =="0T1957" goto LPDLD800
if "%#!computer@model_num%" =="D1521" goto PCSIP300
if "%#!computer@model_num%" =="0WG233" goto PCDLG520
if "%#!computer@model_num%" =="2820h" goto PCHP
if "%#!computer@model_num%" =="0NF743" goto LPDLD520
if "%#!computer@model_num%" =="Portable PC" goto LPTBA10
REM If we didn't find a match, just exit
goto Exit
:LPDLD800
firmwpe -recurse copy .\drivers\Drivers\LPDL-D800\* prod:\drivers
goto Exit
:PCSIP300
firmwpe -recurse copy .\drivers\PCSIP300\* prod:\drivers
goto Exit
:PCDLG520
firmwpe -recurse copy .\drivers\PCDLG520\* prod:\drivers
goto Exit
:PCHP
firmwpe -recurse copy .\drivers\PCHP\* prod:\drivers
goto Exit
:LPDLD520
firmwpe -recurse copy .\drivers\LPDLD520\* prod:\drivers
goto Exit
:LPTBA10
firmwpe -recurse copy .\drivers\LPTBA10\* prod:\drivers
goto Exit
:Exit
exit
i use DS 6.8 SP2, also i find this line in firm.log
Error description:
The file name is not unique (it already exists) in this directory.
(Note: Not all files or directories have been copied)
==================== Technical details ====================
Logfile = created Mon Sep 14 13:18:28 2009
Build = firmwpe.exe 6.9 (9024)
Cmdline = F:\firmwpe.exe -recurse copy .\drivers\PCDLG520\* prod:\drivers
Status = 96 (0x60)
Source file = imglib\fs\ntfs\ntfs.cpp
Line number = 1576 (0x628)
Stack trace = 0x428221 0x427633 0x42a66f 0x404158 0x404aac 0x404a38 0x405679 0x409a91 0x4010ef &Known=0x46d200
Note = Not all files or directories have been copied
Imaging library revision = 9024 (win32-x86-release build, Thu Jan 29 16:47:10 2009)
can you help me
tahnks
The first thing I see is that
The first thing I see is that you should not need the * after \drivers\PCDLG520\. It is implied that when you say firmwpe -recurse that it is to copy everything from the folder, including subfolders and any and all files. Try removing the * and see if that fixes the issue.
If your question was answered, mark the anwser as the solution
Give thumbs up if you found a post helpful
Would you like to reply?
Login or Register to post your comment.